From: Siddhesh Poyarekar Date: Tue, 6 Jul 2021 18:01:58 +0000 (+0530) Subject: Exclude tst-realloc from tests-mcheck X-Git-Tag: upstream/2.34~140 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7042b53f11339bc286270cd1a48eebf7989d198b;p=platform%2Fupstream%2Fglibc.git Exclude tst-realloc from tests-mcheck The realloc (NULL, 0) test in tst-realloc fails with gcc 7.x but passes with newer gcc. This is because a newer gcc transforms the realloc call to malloc (0), thus masking the bug in mcheck. Disable the test with mcheck for now. The malloc removal patchset will fix this and then remove this test from the exclusion list. Reported-by: Stefan Liebler Reviewed-by: Carlos O'Donell --- diff --git a/malloc/Makefile b/malloc/Makefile index 2f9b3d5..2af1203 100644 --- a/malloc/Makefile +++ b/malloc/Makefile @@ -93,7 +93,8 @@ tests-exclude-mcheck = tst-mallocstate \ tst-malloc-usable-tunables \ tst-malloc_info \ tst-memalign \ - tst-posix_memalign + tst-posix_memalign \ + tst-posix-realloc tests-mcheck = $(filter-out $(tests-exclude-mcheck), $(tests))