Another fix for rerunning the tests after LeakSanitizer crash
Don't forget to unset "rc" if we're rerunning the test to avoid still giving an error even if succeeds the second time.
This commit is contained in:
parent
73f5b0e7b7
commit
b4d37c88bd
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@ -205,6 +205,7 @@ jobs:
|
||||
# See https://github.com/google/sanitizers/issues/1353
|
||||
if fgrep -q 'LeakSanitizer has encountered a fatal error' test.out; then
|
||||
echo '+++ Rerunning the tests once again after LeakSanitizer crash +++'
|
||||
unset rc
|
||||
./test || rc=$?
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user