1 import ./make-test-python.nix ({ pkgs, ... }: {
3 meta = with pkgs.lib.maintainers; {
4 maintainers = [ fgaz ];
7 machine = { config, pkgs, ... }: {
12 services.xserver.enable = true;
13 environment.systemPackages = [ pkgs.sfxr-qt ];
21 # Add a dummy sound card, or the program won't start
22 machine.execute("modprobe snd-dummy")
24 machine.execute("sfxr-qt >&2 &")
26 machine.wait_for_window(r"sfxr")
28 machine.wait_for_text("requency")
29 machine.screenshot("screen")