0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

domination: 1.2.9 -> 1.3.0

(cherry picked from commit 9180836151)
This commit is contained in:
Francesco Gazzetta 2024-05-27 19:44:49 +02:00
parent fb29a558c8
commit d60b01aea3
2 changed files with 7 additions and 3 deletions

View file

@ -10,6 +10,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
];
services.xserver.enable = true;
sound.enable = true;
environment.systemPackages = [ pkgs.domination ];
};
@ -18,6 +19,9 @@ import ./make-test-python.nix ({ pkgs, ... }: {
testScript =
''
machine.wait_for_x()
# Add a dummy sound card, or an error reporting popup will appear,
# covering the main window and preventing OCR
machine.execute("modprobe snd-dummy")
machine.execute("domination >&2 &")
machine.wait_for_window("Menu")
machine.wait_for_text(r"(New Game|Start Server|Load Game|Help Manual|Join Game|About|Play Online)")