diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-10-11 10:21:47 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-10-11 10:21:47 -0700 |
commit | 859a585bdf9baa257c08a50895d9829171a5ad46 (patch) | |
tree | 11ca943c2cf1a006eea1955164e8650b46b7e297 /t/README | |
parent | Merge branch 'ab/retire-git-config-key-is-valid' (diff) | |
parent | tests: add a test mode for SANITIZE=leak, run it in CI (diff) | |
download | tgif-859a585bdf9baa257c08a50895d9829171a5ad46.tar.xz |
Merge branch 'ab/sanitize-leak-ci'
CI learns to run the leak sanitizer builds.
* 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 't/README')
-rw-r--r-- | t/README | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -366,6 +366,13 @@ excluded as so much relies on it, but this might change in the future. GIT_TEST_SPLIT_INDEX=<boolean> forces split-index mode on the whole test suite. Accept any boolean values that are accepted by git-config. +GIT_TEST_PASSING_SANITIZE_LEAK=<boolean> when compiled with +SANITIZE=leak will run only those tests that have whitelisted +themselves as passing with no memory leaks. Tests can be whitelisted +by setting "TEST_PASSES_SANITIZE_LEAK=true" before sourcing +"test-lib.sh" itself at the top of the test script. This test mode is +used by the "linux-leaks" CI target. + GIT_TEST_PROTOCOL_VERSION=<n>, when set, makes 'protocol.version' default to n. |