summaryrefslogtreecommitdiff
path: root/t/README
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2021-10-11 10:21:47 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-10-11 10:21:47 -0700
commit859a585bdf9baa257c08a50895d9829171a5ad46 (patch)
tree11ca943c2cf1a006eea1955164e8650b46b7e297 /t/README
parentMerge branch 'ab/retire-git-config-key-is-valid' (diff)
parenttests: add a test mode for SANITIZE=leak, run it in CI (diff)
downloadtgif-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/README7
1 files changed, 7 insertions, 0 deletions
diff --git a/t/README b/t/README
index 51065d0800..b92155a822 100644
--- a/t/README
+++ b/t/README
@@ -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.