From b3debdc0468bed5753e52e831c44e3fdb4f0c83c Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 16 Oct 2013 12:47:11 +0200 Subject: [PATCH] Fix test evaluation --- nixos/release.nix | 3 --- nixos/tests/default.nix | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/release.nix b/nixos/release.nix index 094eacf70598..e19403eccb66 100644 --- a/nixos/release.nix +++ b/nixos/release.nix @@ -224,7 +224,4 @@ in { mapAttrsRecursiveCond (x: !x ? test) (n: v: listToAttrs [(nameValuePair system v.test)]) (import ./tests { inherit nixpkgs system; }); in fold recursiveUpdate {} (map testsFor systems); - - - run-in-machine-tests = pkgs.lib.genAttrs systems (system: import ./tests/run-in-machine.nix { inherit nixpkgs system; }); } diff --git a/nixos/tests/default.nix b/nixos/tests/default.nix index dc608b12d99e..16d45126de13 100644 --- a/nixos/tests/default.nix +++ b/nixos/tests/default.nix @@ -34,4 +34,5 @@ with import ../lib/testing.nix { inherit system minimal; }; tomcat = makeTest (import ./tomcat.nix); #trac = makeTest (import ./trac.nix); xfce = makeTest (import ./xfce.nix); + runInMachine.test = import ./run-in-machine.nix { inherit system; }; }