Skip to content
Snippets Groups Projects
Commit e09768e3 authored by Benoit Jacob's avatar Benoit Jacob
Browse files

handle make errors ---> exit, don't run ctest

parent f7e73f1b
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,5 @@ then
exit 0
fi
./buildtests $*
# TODO when ctest 2.8 comes out, honor the jobs parameter
ctest -R $1
\ No newline at end of file
./buildtests $* && ctest -R $1
\ No newline at end of file
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment