diff options
author | Benjamin Asbach <asbachb@users.noreply.github.com> | 2021-07-23 08:02:20 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-23 10:02:20 -0400 |
commit | 9fd41a9a5be02faf8e8d08b3b052c4e4fad06fdc (patch) | |
tree | b1fce5535183697e2be57794b8d4f020e5cba8eb /nixos/tests/tuxguitar.nix | |
parent | 10204ffee4e8e0750bff3859a430def0ef5690a5 (diff) | |
download | nixpkgs-9fd41a9a5be02faf8e8d08b3b052c4e4fad06fdc.tar nixpkgs-9fd41a9a5be02faf8e8d08b3b052c4e4fad06fdc.tar.gz nixpkgs-9fd41a9a5be02faf8e8d08b3b052c4e4fad06fdc.tar.bz2 nixpkgs-9fd41a9a5be02faf8e8d08b3b052c4e4fad06fdc.tar.lz nixpkgs-9fd41a9a5be02faf8e8d08b3b052c4e4fad06fdc.tar.xz nixpkgs-9fd41a9a5be02faf8e8d08b3b052c4e4fad06fdc.tar.zst nixpkgs-9fd41a9a5be02faf8e8d08b3b052c4e4fad06fdc.zip |
tuxguitar: 125945 (#131028)
* tuxguitar: Ensure that tuxguitar is launched with java 8 comtabilbe jre and libraries as greate java version is not supported * tuxguitar: Added test to verify application starts without problems * tuxguitar: 1.5.2 -> 1.5.4
Diffstat (limited to 'nixos/tests/tuxguitar.nix')
-rw-r--r-- | nixos/tests/tuxguitar.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/nixos/tests/tuxguitar.nix b/nixos/tests/tuxguitar.nix new file mode 100644 index 00000000000..6586132d3cd --- /dev/null +++ b/nixos/tests/tuxguitar.nix @@ -0,0 +1,24 @@ +import ./make-test-python.nix ({ pkgs, ... }: { + name = "tuxguitar"; + meta = with pkgs.lib.maintainers; { + maintainers = [ asbachb ]; + }; + + machine = { config, pkgs, ... }: { + imports = [ + ./common/x11.nix + ]; + + services.xserver.enable = true; + + environment.systemPackages = [ pkgs.tuxguitar ]; + }; + + testScript = '' + machine.wait_for_x() + machine.succeed("tuxguitar &") + machine.wait_for_window("TuxGuitar - Untitled.tg") + machine.sleep(1) + machine.screenshot("tuxguitar") + ''; +}) |