3 # convenience script for running the tests outside adt-run
4 # usage: tests/using-intree tests/run-all [tests/tests/*]
11 -*) echo >&2 "run-all: unknown option $1"; exit 20 ;;
16 ncpus=$(nproc || echo 1)
17 jcpus=-j$(( ncpus * 134 / 100 ))
25 export DGIT_GNUPG_STUNT_ERRLOG=$( tty -s ||: )
29 exec make $jcpus -k -f tests/Makefile "$@"
30 ) 2>&1 |tee tests/tmp/run-all.log