blob: 82d805b791c02bb83d6242ea7cc188a44b7ddabb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/bash
# check : shorthand for make and ctest -R
if [ $# == 0 -o $# -ge 3 ]
then
echo "usage: ./check regexp [jobs]"
echo " makes and runs tests matching the regexp, with [jobs] concurrent make jobs"
exit 0
fi
# TODO when ctest 2.8 comes out, honor the jobs parameter
./buildtests "$1" "${2:-1}" && ctest -R "$1"
|