You've already forked OpenRCT2-Unity
mirror of
https://github.com/izzy2lost/OpenRCT2-Unity.git
synced 2026-03-10 12:38:22 -07:00
Fix travis runs of testpaint
`build.sh` script has `set -e` in the invocation, it fails the script before we have a chance to inspect exit code of `testpaint`. This melds checking of exit status into one command, so bash won't fail it early.
This commit is contained in:
@@ -75,8 +75,7 @@ pushd build
|
||||
# NOT the same variable as above
|
||||
# this target also includes building & running of testpaint
|
||||
make $OPENRCT2_MAKE_OPTS testpaint
|
||||
./testpaint --silent
|
||||
if [[ $? == 1 ]] ; then echo Allowing failed tests to pass ; fi
|
||||
./testpaint --silent || if [[ $? -eq 1 ]] ; then echo Allowing failed tests to pass ; else false; fi
|
||||
else
|
||||
cmake $OPENRCT2_CMAKE_OPTS ..
|
||||
# NOT the same variable as above
|
||||
|
||||
Reference in New Issue
Block a user