introduce check target, and some renaming

This commit is contained in:
Benoit Jacob
2009-11-12 15:02:52 -05:00
parent 8b563d7163
commit 9b7708f660
6 changed files with 11 additions and 4 deletions

14
scripts/check.in Executable file
View File

@@ -0,0 +1,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