mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-19 08:09:36 +08:00
handle make errors ---> exit, don't run ctest
This commit is contained in:
parent
f7e73f1bf9
commit
e09768e3bc
@ -8,7 +8,5 @@ then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
./buildtests $*
|
||||
|
||||
# TODO when ctest 2.8 comes out, honor the jobs parameter
|
||||
ctest -R $1
|
||||
./buildtests $* && ctest -R $1
|
@ -13,9 +13,11 @@ targets_to_make=`echo "$TESTSLIST" | grep "$1" | sed s/^/test_/g | xargs echo`
|
||||
if [ $# == 1 ]
|
||||
then
|
||||
make $targets_to_make
|
||||
exit $?
|
||||
fi
|
||||
|
||||
if [ $# == 2 ]
|
||||
then
|
||||
make -j $2 $targets_to_make
|
||||
exit $?
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user