diff options
author | Patrick Steinhardt <ps@pks.im> | 2020-02-04 12:15:56 +0100 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2020-02-04 12:17:40 +0100 |
commit | c51bd2f20fb4fc6b1d04274707e7ea195a57e056 (patch) | |
tree | 2ca1eda6e9988e62db9227446cf910858e584d7c | |
parent | b33ad76473500821ab6b0ff6cd3c5ee3accfe533 (diff) | |
download | libgit2-c51bd2f20fb4fc6b1d04274707e7ea195a57e056.tar.gz |
azure: tests: reset FAILED status if flaky re-run succeeds
While we already do have logic to re-run flaky tests, the FAILED
variable currently does not get reset to "0". As a result, successful
reruns will still cause the test to be registered as failed.
Fix this by resetting the variable accordingly.
-rwxr-xr-x | azure-pipelines/test.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/azure-pipelines/test.sh b/azure-pipelines/test.sh index d275b944b..dfd9960ec 100755 --- a/azure-pipelines/test.sh +++ b/azure-pipelines/test.sh @@ -54,6 +54,7 @@ run_test() { CLAR_SUMMARY="${BUILD_DIR}/results_${1}.xml" ctest -V -R "^${1}$" || RETURN_CODE=$? && true if [ "$RETURN_CODE" -eq 0 ]; then + FAILED=0 break fi |