1
0
mirror of https://github.com/git/git.git synced 2024-09-21 09:42:22 +02:00

leak tests: mark all trace2 tests as passing with SANITIZE=leak

Mark all tests that match "*trace2*" as passing when git is compiled
with SANITIZE=leak. They'll now be listed as running under the
"GIT_TEST_PASSING_SANITIZE_LEAK=true" test mode (the "linux-leaks" CI
target).

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Ævar Arnfjörð Bjarmason 2021-10-12 15:56:40 +02:00 committed by Junio C Hamano
parent 809aeedb0e
commit 0033ab3f59
3 changed files with 6 additions and 0 deletions

View File

@ -1,6 +1,8 @@
#!/bin/sh #!/bin/sh
test_description='test trace2 facility (normal target)' test_description='test trace2 facility (normal target)'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
# Turn off any inherited trace2 settings for this test. # Turn off any inherited trace2 settings for this test.

View File

@ -1,6 +1,8 @@
#!/bin/sh #!/bin/sh
test_description='test trace2 facility (perf target)' test_description='test trace2 facility (perf target)'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
# Turn off any inherited trace2 settings for this test. # Turn off any inherited trace2 settings for this test.

View File

@ -1,6 +1,8 @@
#!/bin/sh #!/bin/sh
test_description='test trace2 facility' test_description='test trace2 facility'
TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh . ./test-lib.sh
# Turn off any inherited trace2 settings for this test. # Turn off any inherited trace2 settings for this test.