aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/mctestr.in
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2009-11-12 12:07:18 -0500
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2009-11-12 12:07:18 -0500
commit358452bbe6a3fcc8290969dbd531e30701a4c1f2 (patch)
treee6381db65f5583ad0ac680da66aff5ac749df0cf /scripts/mctestr.in
parentfc492b6264249e8ec5b7234d8d53047c49fcb710 (diff)
* add ./debug and ./release scripts
* update the messages * rename EIGEN_CMAKE_RUN_FROM_CTEST to something saner
Diffstat (limited to 'scripts/mctestr.in')
-rwxr-xr-xscripts/mctestr.in14
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