diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-10-07 15:28:38 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-10-07 15:39:59 -0700 |
commit | 6cb3deb4512a9c637c9814a691c1cc4b5b7ce701 (patch) | |
tree | 296c0adba407b4e5524e4c21f07dfb8ef41b8432 /ci/lib.sh | |
parent | The eleventh batch (diff) | |
parent | tests: add a test mode for SANITIZE=leak, run it in CI (diff) | |
download | tgif-6cb3deb4512a9c637c9814a691c1cc4b5b7ce701.tar.xz |
Merge branch 'ab/sanitize-leak-ci' into ab/mark-leak-free-tests-more
* ab/sanitize-leak-ci:
tests: add a test mode for SANITIZE=leak, run it in CI
Makefile: add SANITIZE=leak flag to GIT-BUILD-OPTIONS
Diffstat (limited to 'ci/lib.sh')
-rwxr-xr-x | ci/lib.sh | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -183,7 +183,7 @@ export GIT_TEST_CLONE_2GB=true export SKIP_DASHED_BUILT_INS=YesPlease case "$jobname" in -linux-clang|linux-gcc) +linux-clang|linux-gcc|linux-leaks) if [ "$jobname" = linux-gcc ] then export CC=gcc-8 @@ -233,4 +233,11 @@ linux-musl) ;; esac +case "$jobname" in +linux-leaks) + export SANITIZE=leak + export GIT_TEST_PASSING_SANITIZE_LEAK=true + ;; +esac + MAKEFLAGS="$MAKEFLAGS CC=${CC:-cc}" |