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 e53b96317bac8a13e1b5b0f1d47249e585ab03cf..3877c760a0aca1b40d3e756cedabd3ec28b0fef2 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