mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Travis CI: actually return non-zero exit status when the test job fails
The original code did not actually propagate the test runner exit status to parent process so Travis CI job was always green. Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
This commit is contained in:
parent
d15ccde20f
commit
9b5b713150
@ -47,7 +47,11 @@ ipa-docker-test-runner -l $CI_RESULTS_LOG \
|
||||
--git-repo $TRAVIS_BUILD_DIR \
|
||||
$TASK_TO_RUN $test_set
|
||||
|
||||
if $?
|
||||
exit_status="$?"
|
||||
|
||||
if [[ "$exit_status" -ne 0 ]]
|
||||
then
|
||||
truncate_log_to_test_failures
|
||||
fi
|
||||
|
||||
exit $exit_status
|
||||
|
Loading…
Reference in New Issue
Block a user