mirror of https://github.com/OpenRCT2/OpenRCT2.git
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:
parent
3dcebfc97f
commit
cdffaa0712
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue