svn path=/nixos/trunk/; revision=20545

This commit is contained in:
Eelco Dolstra 2010-03-10 22:51:53 +00:00
parent 48e9e1282a
commit c4ae499f3d

View File

@ -83,6 +83,8 @@ rec {
echo "report coverage $out/coverage" >> $out/nix-support/hydra-build-products echo "report coverage $out/coverage" >> $out/nix-support/hydra-build-products
''; # */ ''; # */
# !!! Rename these functions to something more sensible.
call = f: f { inherit pkgs nixpkgs system; }; call = f: f { inherit pkgs nixpkgs system; };
apply = testFun: complete (call testFun); apply = testFun: complete (call testFun);
@ -96,5 +98,7 @@ rec {
test = runTests vms t.testScript; test = runTests vms t.testScript;
report = makeReport test; report = makeReport test;
}; };
simpleTest = as: (apply ({ ... }: as)).test;
} }