at master 529 B view raw
1{ 2 lib, 3 pkgs, 4 ... 5}: 6{ 7 name = "oku"; 8 9 meta.maintainers = with lib.maintainers; [ ethancedwards8 ]; 10 11 nodes.machine = { 12 imports = [ ./common/x11.nix ]; 13 14 environment.systemPackages = with pkgs; [ oku ]; 15 }; 16 17 enableOCR = true; 18 19 testScript = '' 20 machine.wait_for_x() 21 22 with subtest("Wait until Oku has finished loading the Valgrind docs page"): 23 machine.execute("xterm -e 'oku -n file://${pkgs.valgrind.doc}/share/doc/valgrind/html/index.html' >&2 &"); 24 machine.wait_for_window("oku") 25 ''; 26 27}