summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2018-02-14 23:10:07 +0100
committerGitHub <noreply@github.com>2018-02-14 23:10:07 +0100
commit9857545446b76a23940bd4d3ab69470e256fe61f (patch)
treef24edc4c63cba30d0075a8641693daf4357088d4 /nixos/tests
parent16fa6f59f77fd635665ba719e278bc673ceb1d9e (diff)
parent7713889556b013ef109c35be7fccb378a4f13b6d (diff)
downloadnixpkgs-9857545446b76a23940bd4d3ab69470e256fe61f.tar
nixpkgs-9857545446b76a23940bd4d3ab69470e256fe61f.tar.gz
nixpkgs-9857545446b76a23940bd4d3ab69470e256fe61f.tar.bz2
nixpkgs-9857545446b76a23940bd4d3ab69470e256fe61f.tar.lz
nixpkgs-9857545446b76a23940bd4d3ab69470e256fe61f.tar.xz
nixpkgs-9857545446b76a23940bd4d3ab69470e256fe61f.tar.zst
nixpkgs-9857545446b76a23940bd4d3ab69470e256fe61f.zip
Merge pull request #34979 from jtojnar/gjs-1.50.4
gnome3.gjs: 1.50.2 → 1.50.4 
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/gjs.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/nixos/tests/gjs.nix b/nixos/tests/gjs.nix
new file mode 100644
index 00000000000..e6002ef98dd
--- /dev/null
+++ b/nixos/tests/gjs.nix
@@ -0,0 +1,19 @@
+# run installed tests
+import ./make-test.nix ({ pkgs, ... }: {
+  name = "gjs";
+
+  meta = {
+    maintainers = pkgs.gnome3.gjs.meta.maintainers;
+  };
+
+  machine = { pkgs, ... }: {
+    imports = [ ./common/x11.nix ];
+    environment.systemPackages = with pkgs; [ gnome-desktop-testing ];
+    environment.variables.XDG_DATA_DIRS = [ "${pkgs.gnome3.gjs.installedTests}/share" ];
+  };
+
+  testScript = ''
+    $machine->waitForX;
+    $machine->succeed("gnome-desktop-testing-runner");
+  '';
+})