blob: b5c5bb06abeaa13a87abfae1f5a3e208b26e5f01 (
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 -k -f tests/Makefile "$@"
|