From 9b7708f6603555fa1f960d8f8ae30a3d613b478a Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Thu, 12 Nov 2009 15:02:52 -0500 Subject: introduce check target, and some renaming --- scripts/check.in | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 scripts/check.in (limited to 'scripts/check.in') 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 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 -- cgit v1.2.3