summaryrefslogtreecommitdiff
path: root/tests/run-all
blob: f298cb773423df1ca6dabffe0df337962fc0b86f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
set -e
# convenience script for running the tests outside adt-run
# usage: tests/using-intree tests/run-all

set +e
jcpus=`perl -MSys::CPU -we 'printf "-j%d\n",Sys::CPU::cpu_count()'`
set -e

if [ $# != 0 ]; then
	set TESTSCRIPTS="$*"
fi

set -x
exec make $jcpus -f tests/Makefile "$@"