mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-27 07:29:52 +08:00
5923bcb1b9
* support unsupported/ * use egrep instead of grep, properly escape special chars.
13 lines
324 B
Bash
Executable File
13 lines
324 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 "$1" "$2" && ctest -R "$1"
|