From 99d1fc2246af3be4ded31c44b9436d2d1c3886b7 Mon Sep 17 00:00:00 2001 From: aszlig Date: Tue, 15 Mar 2016 05:27:52 +0100 Subject: release.nix: Exclude game tests from Hydra jobs We can't possibly test those on Hydra, so let's exclude them from the release.nix. Signed-off-by: aszlig --- lib/get-tests.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/get-tests.nix b/lib/get-tests.nix index 08fc9475..2f78f58c 100644 --- a/lib/get-tests.nix +++ b/lib/get-tests.nix @@ -1,6 +1,7 @@ { system ? builtins.currentSystem , nixpkgs ? import ../nixpkgs-path.nix , vuizvuiTests ? ../tests +, excludeVuizvuiGames ? false }: with import "${nixpkgs}/lib"; @@ -16,7 +17,7 @@ with import "${nixpkgs}/lib"; reduce = attr: if isTestOrJob attr then attr else attr.${system}; in mapAttrsRecursiveCond cond (path: reduce) upstreamTests; - vuizvui = import vuizvuiTests { + vuizvui = removeAttrs (import vuizvuiTests { inherit system; - }; + }) (optional excludeVuizvuiGames "games"); } -- cgit 1.4.1