chiark / gitweb /
dgit-repos-policy-debian: Add debugging output
[dgit.git] / tests / run-all
1 #!/bin/sh
2 set -e
3 # convenience script for running the tests outside adt-run
4 # usage: tests/using-intree tests/run-all
5
6 set +e
7 jcpus=`perl -MSys::CPU -we 'printf "-j%d\n",Sys::CPU::cpu_count()'`
8 set -e
9
10 if [ $# != 0 ]; then
11         set TESTSCRIPTS="$*"
12 fi
13
14 set -x
15 exec make $jcpus -f tests/Makefile "$@"