Skip to content

Commit 9737bf2

Browse files
avargitster
authored andcommitted
CI: use "GIT_TEST_SANITIZE_LEAK_LOG=true" in linux-leaks
As noted in a preceding commit the leak checking done by "GIT_TEST_PASSING_SANITIZE_LEAK=true" (added in [1]) is incomplete without combining it with "GIT_TEST_SANITIZE_LEAK_LOG=true". Let's run our CI with that, to ensure that we catch cases where our tests are missing the abort() exit code resulting from a leak for whatever reason. The reasons for that are discussed in detail in a preceding commit. 1. 956d2e4 (tests: add a test mode for SANITIZE=leak, run it in CI, 2021-09-23) Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 49752f3 commit 9737bf2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ci/lib.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ linux-musl)
276276
linux-leaks)
277277
export SANITIZE=leak
278278
export GIT_TEST_PASSING_SANITIZE_LEAK=true
279+
export GIT_TEST_SANITIZE_LEAK_LOG=true
279280
;;
280281
esac
281282

0 commit comments

Comments
 (0)