diff options
Diffstat (limited to 'scripts/mctestr.in')
-rwxr-xr-x | scripts/mctestr.in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/mctestr.in b/scripts/mctestr.in new file mode 100755 index 000000000..a388ef38f --- /dev/null +++ b/scripts/mctestr.in @@ -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
\ No newline at end of file |