eigen/scripts/check.in
2009-11-16 09:38:44 -05:00

12 lines
314 B
Bash
Executable File

#!/bin/bash
# mctestr : shorthand for make and ctest -R
if [ $# == 0 -o $# -ge 3 ]
then
echo "usage: ./check regexp [jobs]"
echo " makes and runs tests matching the regexp, with <jobs> concurrent make jobs"
exit 0
fi
# TODO when ctest 2.8 comes out, honor the jobs parameter
./buildtests $* && ctest -R $1