aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/check.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/check.in')
-rwxr-xr-xscripts/check.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/check.in b/scripts/check.in
new file mode 100755
index 000000000..a388ef38f
--- /dev/null
+++ b/scripts/check.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