chiark
/
gitweb
/
~ian
/
cgi-auth-flexible.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Licence: Provide CAF Login Exception
[cgi-auth-flexible.git]
/
tests
/
run-all
1
#!/bin/sh
2
set -e
3
make=`type gmake >/dev/null 2>&1 && echo gmake || echo make`
4
if [ $# = 0 ]; then
5
ncpus=`
6
perl -e 'use Sys::CPU; print Sys::CPU::cpu_count()' \
7
2>/dev/null \
8
|| echo 1
9
`
10
set -- -j$(( $ncpus * 2 ))
11
fi
12
x () {
13
echo >&2 "$*"
14
"$@"
15
}
16
x $make -C tests "$@"
17
echo all ok.