summary refs log tree commit diff
path: root/nixos/tests/installed-tests
diff options
context:
space:
mode:
authorNathaniel Glen <njag2202@gmail.com>2020-08-05 14:48:37 -0400
committerNathaniel Glen <njag2202@gmail.com>2020-09-19 16:33:01 -0400
commite879eb6db6715faeafd6fc514c0e2752e4dcef3f (patch)
treee404115b99b09f5d92f09b328e310fcf5cf03fa0 /nixos/tests/installed-tests
parent89021b9a188880939b8683c0aabbb4b1cc5bece5 (diff)
downloadnixpkgs-e879eb6db6715faeafd6fc514c0e2752e4dcef3f.tar
nixpkgs-e879eb6db6715faeafd6fc514c0e2752e4dcef3f.tar.gz
nixpkgs-e879eb6db6715faeafd6fc514c0e2752e4dcef3f.tar.bz2
nixpkgs-e879eb6db6715faeafd6fc514c0e2752e4dcef3f.tar.lz
nixpkgs-e879eb6db6715faeafd6fc514c0e2752e4dcef3f.tar.xz
nixpkgs-e879eb6db6715faeafd6fc514c0e2752e4dcef3f.tar.zst
nixpkgs-e879eb6db6715faeafd6fc514c0e2752e4dcef3f.zip
pipewire: add testing
This adds two tests. One is for whether the paths used by the module are
present, while the other is for testing functionality of PipeWire
itself. This is done with the recent addition of installed tests by
upstream.
Diffstat (limited to 'nixos/tests/installed-tests')
-rw-r--r--nixos/tests/installed-tests/default.nix1
-rw-r--r--nixos/tests/installed-tests/pipewire.nix5
2 files changed, 6 insertions, 0 deletions
diff --git a/nixos/tests/installed-tests/default.nix b/nixos/tests/installed-tests/default.nix
index 889a00d4b56..50ca8ad2b50 100644
--- a/nixos/tests/installed-tests/default.nix
+++ b/nixos/tests/installed-tests/default.nix
@@ -101,5 +101,6 @@ in
   libxmlb = callInstalledTest ./libxmlb.nix {};
   malcontent = callInstalledTest ./malcontent.nix {};
   ostree = callInstalledTest ./ostree.nix {};
+  pipewire = callInstalledTest ./pipewire.nix {};
   xdg-desktop-portal = callInstalledTest ./xdg-desktop-portal.nix {};
 }
diff --git a/nixos/tests/installed-tests/pipewire.nix b/nixos/tests/installed-tests/pipewire.nix
new file mode 100644
index 00000000000..f4154b5d2fd
--- /dev/null
+++ b/nixos/tests/installed-tests/pipewire.nix
@@ -0,0 +1,5 @@
+{ pkgs, lib, makeInstalledTest, ... }:
+
+makeInstalledTest {
+  tested = pkgs.pipewire;
+}