3
0
Fork 0
forked from mirrors/nixpkgs

* Test whether the build hook automatically skips unavailable slaves.

(This is in fact currently broken.)

svn path=/nixos/trunk/; revision=23398
This commit is contained in:
Eelco Dolstra 2010-08-24 14:01:19 +00:00
parent bfb2e304dd
commit b9282b1752

View file

@ -82,6 +82,10 @@ in
$client->succeed("nix-store -r \$(nix-instantiate ${expr nodes.client.config 2} ${expr nodes.client.config 3})");
$slave1->succeed("test -e $out1 -o -e $out2");
$slave2->succeed("test -e $out1 -o -e $out2");
# Test whether the build hook automatically skips unavailable slaves.
$slave1->block;
$client->succeed("nix-build ${expr nodes.client.config 4}");
'';
}