mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 05:27:39 +01:00
Merge pull request #7543 from VOREStation/vplk-unit-tests-fail-checks
Make failing unit tests actually fail travis checks.
This commit is contained in:
+1
-1
@@ -101,7 +101,7 @@ turf/c_airblock(turf/other)
|
||||
if(ATMOS_PASS_NO)
|
||||
return BLOCKED
|
||||
if(ATMOS_PASS_DENSITY)
|
||||
if(density)
|
||||
if(M.density)
|
||||
return BLOCKED
|
||||
if(ATMOS_PASS_PROC)
|
||||
result |= M.c_airblock(other)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user