mirror of
https://github.com/game-ci/unity-test-runner.git
synced 2026-01-28 21:59:06 +08:00
Use exit code to fail when code compile fails (#143)
This commit is contained in:
@@ -42,6 +42,6 @@ fi;
|
||||
# Exit with code from the build step.
|
||||
#
|
||||
|
||||
if [ $USE_EXIT_CODE = true ]; then
|
||||
if [[ $USE_EXIT_CODE == true || $TEST_RUNNER_EXIT_CODE -ne 2 ]]; then
|
||||
exit $TEST_RUNNER_EXIT_CODE
|
||||
fi;
|
||||
|
||||
Reference in New Issue
Block a user