nixos/testing: Fix release.nix tests evaluation

Fixes the problem introduced by 12b3066aae
which caused nixos/release.nix to return the wrong attributes, while
intending to only affect nixos/lib's runTest.
This also removes callTest from the test options, because callTest is
only ever invoked by all-tests.nix.
This commit is contained in:
Robert Hensing 2022-09-29 10:32:31 +02:00
parent f4e8fc64ca
commit aed1deab05
5 changed files with 8 additions and 12 deletions

View file

@ -49,7 +49,7 @@ rec {
, extraPythonPackages ? (_ : [])
, interactive ? {}
} @ t:
runTest {
(evalTest {
imports = [
{ _file = "makeTest parameters"; config = t; }
{
@ -59,7 +59,7 @@ rec {
};
}
];
};
}).config;
simpleTest = as: (makeTest as).test;