summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-11-07 08:02:33 -0500
committerworldofpeace <worldofpeace@protonmail.ch>2019-11-07 08:02:33 -0500
commit85251b3c2485b814719b70d9c58718ee58400256 (patch)
treeae8ba9c75073ddd2fa382a16df765599102f79d3 /nixos
parentf2ecbaa6cfe35bc1cebed8a9f3df513cdbc47836 (diff)
downloadnixpkgs-85251b3c2485b814719b70d9c58718ee58400256.tar
nixpkgs-85251b3c2485b814719b70d9c58718ee58400256.tar.gz
nixpkgs-85251b3c2485b814719b70d9c58718ee58400256.tar.bz2
nixpkgs-85251b3c2485b814719b70d9c58718ee58400256.tar.lz
nixpkgs-85251b3c2485b814719b70d9c58718ee58400256.tar.xz
nixpkgs-85251b3c2485b814719b70d9c58718ee58400256.tar.zst
nixpkgs-85251b3c2485b814719b70d9c58718ee58400256.zip
nixosTests.libxmlb: port to python
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/installed-tests/default.nix1
-rw-r--r--nixos/tests/installed-tests/libxmlb.nix5
-rw-r--r--nixos/tests/libxmlb.nix17
3 files changed, 6 insertions, 17 deletions
diff --git a/nixos/tests/installed-tests/default.nix b/nixos/tests/installed-tests/default.nix
index 7867a61e3dd..7809a2ff88d 100644
--- a/nixos/tests/installed-tests/default.nix
+++ b/nixos/tests/installed-tests/default.nix
@@ -72,6 +72,7 @@ in
   glib-networking = callInstalledTest ./glib-networking.nix {};
   gnome-photos = callInstalledTest ./gnome-photos.nix {};
   graphene = callInstalledTest ./graphene.nix {};
+  libxmlb = callInstalledTest ./libxmlb.nix {};
   ostree = callInstalledTest ./ostree.nix {};
   xdg-desktop-portal = callInstalledTest ./xdg-desktop-portal.nix {};
 }
diff --git a/nixos/tests/installed-tests/libxmlb.nix b/nixos/tests/installed-tests/libxmlb.nix
new file mode 100644
index 00000000000..af2bbe9c35e
--- /dev/null
+++ b/nixos/tests/installed-tests/libxmlb.nix
@@ -0,0 +1,5 @@
+{ pkgs, makeInstalledTest, ... }:
+
+makeInstalledTest {
+  tested = pkgs.libxmlb;
+}
diff --git a/nixos/tests/libxmlb.nix b/nixos/tests/libxmlb.nix
deleted file mode 100644
index 3bee568ac5a..00000000000
--- a/nixos/tests/libxmlb.nix
+++ /dev/null
@@ -1,17 +0,0 @@
-# run installed tests
-import ./make-test.nix ({ pkgs, ... }:
-
-{
-  name = "libxmlb";
-  meta = {
-    maintainers = pkgs.libxmlb.meta.maintainers;
-  };
-
-  machine = { pkgs, ... }: {
-    environment.systemPackages = with pkgs; [ gnome-desktop-testing ];
-  };
-
-  testScript = ''
-    $machine->succeed("gnome-desktop-testing-runner -d '${pkgs.libxmlb.installedTests}/share'");
-  '';
-})