about summary refs log tree commit diff
path: root/distributed/test.sh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2004-05-13T19·35+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2004-05-13T19·35+0000
commit25db6224544be0df483a661f5e2cc1ed595525ae (patch)
treedd497e6148b88ec797c01d2e1310a663e86281fb /distributed/test.sh
parent3426d19547c889700a00e97fb62966ebd755f88b (diff)
* Load balancing. `build-remote.pl' will only execute up to a
  per-machine maximum number of parallel jobs on a remote machine.

Diffstat (limited to 'distributed/test.sh')
-rwxr-xr-xdistributed/test.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/distributed/test.sh b/distributed/test.sh
index 38116eba5dd1..78f83095e820 100755
--- a/distributed/test.sh
+++ b/distributed/test.sh
@@ -2,8 +2,11 @@
 
 set -e
 
+rm -f current-load
+touch current-load
+
 storeExpr=$(nix-instantiate ~/nixpkgs/pkgs/system/test.nix)
 
 export NIX_BUILD_HOOK="build-remote.pl"
 
-../src/nix-store/nix-store -qnvvvv -j0 $storeExpr
+../src/nix-store/nix-store -qnvvvv -j1 $storeExpr