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