diff options
author | Francesco Gazzetta <fgaz@fgaz.me> | 2024-05-27 19:44:49 +0200 |
---|---|---|
committer | Francesco Gazzetta <fgaz@fgaz.me> | 2024-05-30 07:28:44 +0000 |
commit | ce3303220aa5bd66c09da2f56c019fb53da54c50 (patch) | |
tree | b68df39cc7aed360ffac4967b392319d46c57e4a /nixos | |
parent | 0f988883a3640b7419bb85d8c2678db6983418d0 (diff) |
domination: 1.2.9 -> 1.3.0
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tests/domination.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/tests/domination.nix b/nixos/tests/domination.nix index 409a7f3029c42..9e4badd2e369d 100644 --- a/nixos/tests/domination.nix +++ b/nixos/tests/domination.nix @@ -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)") |