From 2038f9cc8d03b02e2eb4173a3e4726f3318e74be Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Wed, 30 Dec 2009 15:07:05 -0500 Subject: * The 'check' and 'buildtests' scripts no longer take a jobs parameter. Instead, they honor the EIGEN_JOBS environment variable if defined. * The syntax ${BLABLA} in bash scripts was conflicting with CMake configured file syntax. Resolved by using the @ONLY option and the @BLABLA@ syntax. --- scripts/check.in | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'scripts/check.in') diff --git a/scripts/check.in b/scripts/check.in index 82d805b79..e1fdccd0a 100755 --- a/scripts/check.in +++ b/scripts/check.in @@ -1,12 +1,14 @@ #!/bin/bash # check : shorthand for make and ctest -R -if [ $# == 0 -o $# -ge 3 ] +if [ $# == 0 -o $# -ge 2 ] then - echo "usage: ./check regexp [jobs]" - echo " makes and runs tests matching the regexp, with [jobs] concurrent make jobs" + echo "usage: ./check regexp" + echo " Makes and runs tests matching the regexp." + echo " The EIGEN_JOBS environment variable controls how many" + echo " concurrent jobs are launched." exit 0 fi -# TODO when ctest 2.8 comes out, honor the jobs parameter -./buildtests "$1" "${2:-1}" && ctest -R "$1" +# TODO ctest 2.8 is out, honor the jobs parameter +./buildtests "$1" && ctest -R "$1" -- cgit v1.2.3