mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
handle make errors ---> exit, don't run ctest
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user