X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=tests%2Frun-all;h=cfa5ce2ff1ac7c260ca04fd088547dd15b5aef84;hp=e53b96317bac8a13e1b5b0f1d47249e585ab03cf;hb=63911b5d576e7250c132d117c53e66aaf34b7f47;hpb=f773b1ed2796196e0fa801886fce493544c38fe0 diff --git a/tests/run-all b/tests/run-all index e53b9631..cfa5ce2f 100755 --- a/tests/run-all +++ b/tests/run-all @@ -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 @@ -15,6 +15,8 @@ fi mkdir -p tests/tmp +export DGIT_GNUPG_STUNT_ERRLOG=$( tty -s ||: ) + ( set -x exec make $jcpus -k -f tests/Makefile "$@"