Message ID | patch-05.10-6f474a0f83d-20220719T205710Z-avarab@gmail.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | leak test: add "check" test mode, mark leak-free tests | expand |
On 7/19/2022 5:05 PM, Ævar Arnfjörð Bjarmason wrote: > Reword the documentation added in 956d2e4639b (tests: add a test mode > for SANITIZE=leak, run it in CI, 2021-09-23) for brevity, and to avoid > a merge conflict with another topic, per [1]. > > 1. https://lore.kernel.org/git/220719.86lespun6l.gmgdl@evledraar.gmail.com/ > +GIT_TEST_PASSING_SANITIZE_LEAK=true skips those tests that haven't > +declared themselves as leak-free by setting > +"TEST_PASSES_SANITIZE_LEAK=true" before sourcing "test-lib.sh". This > +test mode is used by the "linux-leaks" CI target. Thanks. This paragraph reads very well. -Stolee
diff --git a/t/README b/t/README index 4f9981cf5e3..7f409392537 100644 --- a/t/README +++ b/t/README @@ -366,12 +366,10 @@ 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_PASSING_SANITIZE_LEAK=true skips those tests that haven't +declared themselves as leak-free by setting +"TEST_PASSES_SANITIZE_LEAK=true" before sourcing "test-lib.sh". This +test mode is used by the "linux-leaks" CI target. GIT_TEST_PROTOCOL_VERSION=<n>, when set, makes 'protocol.version' default to n.
Reword the documentation added in 956d2e4639b (tests: add a test mode for SANITIZE=leak, run it in CI, 2021-09-23) for brevity, and to avoid a merge conflict with another topic, per [1]. 1. https://lore.kernel.org/git/220719.86lespun6l.gmgdl@evledraar.gmail.com/ Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> --- t/README | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-)