eigen/scripts/check.in
Benoit Jacob 2038f9cc8d * 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.
2009-12-30 15:07:05 -05:00

15 lines
375 B
Bash
Executable File

#!/bin/bash
# check : shorthand for make and ctest -R
if [ $# == 0 -o $# -ge 2 ]
then
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 ctest 2.8 is out, honor the jobs parameter
./buildtests "$1" && ctest -R "$1"