Make failing unit tests actually fail travis checks.

This commit is contained in:
Leshana
2020-04-30 19:35:09 -04:00
parent 103d64ed43
commit 02ee88a093
+2 -2
View File
@@ -33,6 +33,6 @@ fi
if [ $RUN -eq 1 ];
then
DreamDaemon $BASENAME.dmb -invisible -trusted -core 2>&1 | tee log.txt;
grep "All Unit Tests Passed" log.txt
grep "Caught 0 Runtimes" log.txt
grep "All Unit Tests Passed" log.txt || exit 1
grep "Caught 0 Runtimes" log.txt || exit 1
fi