Skip to content

Commit

Permalink
Issue error when test does not compile [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
markummitchell-tu committed Oct 7, 2017
1 parent 2416dc4 commit 2d5505d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/build_and_run_all_cli_tests
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,11 @@ else
do
sed "s/TEST/$t/g" engauge_test_template.pro >engauge_test.pro
qmake $CONFIGARGS engauge_test.pro
make all 2>>$LOGFILE >/dev/null
make all 2>>$LOGFILE >/dev/null || {
echo "FAIL : Compilation error is described in build_and_run_all_cli_tests"
echo " Testing will be stopped"
exit 1
}
../bin/$t
if [ $selectedCount -ne 1 ]
then
Expand Down

0 comments on commit 2d5505d

Please sign in to comment.