Skip to content

Commit

Permalink
nixos/tests/colord: init
Browse files Browse the repository at this point in the history
  • Loading branch information
worldofpeace committed Mar 18, 2019
1 parent 5c106fe commit 5e7623a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions nixos/tests/all-tests.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ in
clickhouse = handleTest ./clickhouse.nix {};
cloud-init = handleTest ./cloud-init.nix {};
codimd = handleTest ./codimd.nix {};
colord = handleTest ./colord.nix {};
containers-bridge = handleTest ./containers-bridge.nix {};
containers-extra_veth = handleTest ./containers-extra_veth.nix {};
containers-hosts = handleTest ./containers-hosts.nix {};
Expand Down
18 changes: 18 additions & 0 deletions nixos/tests/colord.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# run installed tests
import ./make-test.nix ({ pkgs, ... }:

{
name = "colord";

meta = {
maintainers = pkgs.colord.meta.maintainers;
};

machine = { pkgs, ... }: {
environment.systemPackages = with pkgs; [ gnome-desktop-testing ];
};

testScript = ''
$machine->succeed("gnome-desktop-testing-runner -d '${pkgs.colord.installedTests}/share'");
'';
})

0 comments on commit 5e7623a

Please sign in to comment.