1 import ./make-test-python.nix ({ pkgs, ... }: {
3 meta = with pkgs.lib.maintainers; {
4 maintainers = [ fgaz ];
7 nodes.machine = { config, pkgs, ... }: {
12 services.xserver.enable = true;
13 environment.systemPackages = [ pkgs.warzone2100 ];
21 machine.execute("warzone2100 >&2 &")
22 machine.wait_for_window("Warzone 2100")
23 machine.wait_for_text(r"(Single Player|Multi Player|Tutorial|Options|Quit Game)")
24 machine.screenshot("screen")