Merge branch 'ab/test-malloc-with-sanitize-leak' into maint-2.38
Test fix. * ab/test-malloc-with-sanitize-leak: test-lib: have SANITIZE=leak imply TEST_NO_MALLOC_CHECKmaint
commit
71220d8e54
|
@ -563,9 +563,11 @@ case $GIT_TEST_FSYNC in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Add libc MALLOC and MALLOC_PERTURB test only if we are not executing
|
# Add libc MALLOC and MALLOC_PERTURB test only if we are not executing
|
||||||
# the test with valgrind and have not compiled with SANITIZE=address.
|
# the test with valgrind and have not compiled with conflict SANITIZE
|
||||||
|
# options.
|
||||||
if test -n "$valgrind" ||
|
if test -n "$valgrind" ||
|
||||||
test -n "$SANITIZE_ADDRESS" ||
|
test -n "$SANITIZE_ADDRESS" ||
|
||||||
|
test -n "$SANITIZE_LEAK" ||
|
||||||
test -n "$TEST_NO_MALLOC_CHECK"
|
test -n "$TEST_NO_MALLOC_CHECK"
|
||||||
then
|
then
|
||||||
setup_malloc_check () {
|
setup_malloc_check () {
|
||||||
|
|
Loading…
Reference in New Issue