chiark / gitweb /
test suite: tests/run-all: Use a bit more cpu
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 8 Jan 2017 13:14:53 +0000 (13:14 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 8 Jan 2017 13:14:54 +0000 (13:14 +0000)
Make allowance for tests that do a bit of downloading or whatever.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tests/run-all

index e53b963..3877c76 100755 (executable)
@@ -6,7 +6,7 @@ set -e
 set -o pipefail
 
 set +e
-jcpus=`perl -MSys::CPU -we 'printf "-j%d\n",Sys::CPU::cpu_count()'`
+jcpus=`perl -MSys::CPU -we 'printf "-j%d\n", 1.34 * Sys::CPU::cpu_count()'`
 set -e
 
 if [ $# != 0 ]; then