summaryrefslogtreecommitdiff
path: root/runtests
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-09-17 07:03:35 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-09-17 07:03:35 -0400
commitf13ef5ca5a6703b57c69e6e39258e7f0b0c55e4d (patch)
treec6078486ef8b1ee1d011c5f6b8c812ec480f3bdb /runtests
parent4c8629ee18c2c75615b679ca27b20ddedb9aa704 (diff)
runtests now takes an argument, specifying how many CPUs are available.
Diffstat (limited to 'runtests')
-rwxr-xr-xruntests2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtests b/runtests
index e4b74df..8011401 100755
--- a/runtests
+++ b/runtests
@@ -1,6 +1,6 @@
#!/bin/sh
-NCPU=2
+NCPU=$1
COUNT=4209433
GROUP=$((COUNT / NCPU))