nixpkgs/nixos/tests/oku.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
529 B
Nix
Raw Normal View History

2025-07-16 20:11:14 -04:00
{
lib,
pkgs,
...
}:
{
name = "oku";
meta.maintainers = with lib.maintainers; [ ethancedwards8 ];
nodes.machine = {
imports = [ ./common/x11.nix ];
environment.systemPackages = with pkgs; [ oku ];
};
enableOCR = true;
testScript = ''
machine.wait_for_x()
with subtest("Wait until Oku has finished loading the Valgrind docs page"):
machine.execute("xterm -e 'oku -n file://${pkgs.valgrind.doc}/share/doc/valgrind/html/index.html' >&2 &");
machine.wait_for_window("oku")
'';
}