summaryrefslogtreecommitdiff
path: root/t/test-lib.sh
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2022-07-27 23:13:33 (GMT)
committerJunio C Hamano <gitster@pobox.com>2022-07-27 23:35:40 (GMT)
commitac8e3e94e56eb13ca4bd023973501c6a3ad8fd98 (patch)
treebabf60670c0965e12b35b11c07a8f672c07633f5 /t/test-lib.sh
parent46fb057aaad2cfcbf6cdf409fcf241a362ad77b3 (diff)
downloadgit-ac8e3e94e56eb13ca4bd023973501c6a3ad8fd98.zip
git-ac8e3e94e56eb13ca4bd023973501c6a3ad8fd98.tar.gz
git-ac8e3e94e56eb13ca4bd023973501c6a3ad8fd98.tar.bz2
t/README: reword the "GIT_TEST_PASSING_SANITIZE_LEAK" description
Reword the documentation added in 956d2e4639b (tests: add a test mode for SANITIZE=leak, run it in CI, 2021-09-23) for brevity. The comment added in the same commit was also misleading: We skip certain tests if SANITIZE=leak and GIT_TEST_PASSING_SANITIZE_LEAK=true, not if we're compiled with SANITIZE=leak. Let's just remove the comment, the control flow here is obvious enough that the code can speak for itself. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/test-lib.sh')
-rw-r--r--t/test-lib.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index 31213b5..f8adb92 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -1447,7 +1447,6 @@ then
test_done
fi
-# skip non-whitelisted tests when compiled with SANITIZE=leak
if test -n "$SANITIZE_LEAK"
then
if test_bool_env GIT_TEST_PASSING_SANITIZE_LEAK false