From 02ee88a093fb5480eb73ea7d0890c853f454ec22 Mon Sep 17 00:00:00 2001 From: Leshana Date: Thu, 30 Apr 2020 19:24:10 -0400 Subject: [PATCH] Make failing unit tests actually fail travis checks. --- tools/travis/compile_and_run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/travis/compile_and_run.sh b/tools/travis/compile_and_run.sh index b4f9e403b0..fa3c382943 100644 --- a/tools/travis/compile_and_run.sh +++ b/tools/travis/compile_and_run.sh @@ -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