mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-20 11:56:17 +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
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
./buildtests $*
|
|
||||||
|
|
||||||
# TODO when ctest 2.8 comes out, honor the jobs parameter
|
# 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 ]
|
if [ $# == 1 ]
|
||||||
then
|
then
|
||||||
make $targets_to_make
|
make $targets_to_make
|
||||||
|
exit $?
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $# == 2 ]
|
if [ $# == 2 ]
|
||||||
then
|
then
|
||||||
make -j $2 $targets_to_make
|
make -j $2 $targets_to_make
|
||||||
|
exit $?
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user