t/README: reword the "GIT_TEST_PASSING_SANITIZE_LEAK" description
Reword the documentation added in 956d2e4639
(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>
This commit is contained in:

committed by
Junio C Hamano

parent
46fb057aaa
commit
ac8e3e94e5
@ -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
|
||||
|
Reference in New Issue
Block a user