chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
b5c5bb06abeaa13a87abfae1f5a3e208b26e5f01
[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 -k -f tests/Makefile "$@"