improve the scripts for building unit tests:

* support unsupported/
* use egrep instead of grep, properly escape special chars.
This commit is contained in:
Benoit Jacob
2009-11-25 21:26:37 -05:00
parent f795681da0
commit 5923bcb1b9
8 changed files with 20 additions and 18 deletions

View File

@@ -4,9 +4,9 @@
if [ $# == 0 -o $# -ge 3 ]
then
echo "usage: ./check regexp [jobs]"
echo " makes and runs tests matching the regexp, with <jobs> concurrent make 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 $* && ctest -R $1
./buildtests "$1" "$2" && ctest -R "$1"