Derrick Stolee <derrickstolee@xxxxxxxxxx> writes: >> GIT_TEST_PASSING_SANITIZE_LEAK=<bool> when compiled with >> SANITIZE=leak will, when true, only run those tests that declare >> themselves 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. > > Another iteration: > > GIT_TEST_PASSING_SANITIZE_LEAK=<bool> focuses the test suite on finding > memory leaks. When the variable is true and Git is compiled with > SANITIZE=leak, only run those tests that declare themselves 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. Sounds good. These scripts opt into the sanitize-leak tests by declaring themselves to be leak-free and that is captured very well without using the *list word ;-)