diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2021-07-06 23:31:58 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2021-07-06 23:34:11 +0530 |
commit | 7042b53f11339bc286270cd1a48eebf7989d198b (patch) | |
tree | a3ee0f0976e26997dfc7e6262bc6f95679a92b2c | |
parent | cf2256196cc843b574e39eb05b77fc0c00024aa1 (diff) | |
download | glibc-7042b53f11339bc286270cd1a48eebf7989d198b.tar glibc-7042b53f11339bc286270cd1a48eebf7989d198b.tar.gz glibc-7042b53f11339bc286270cd1a48eebf7989d198b.tar.bz2 glibc-7042b53f11339bc286270cd1a48eebf7989d198b.zip |
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 <stli@linux.ibm.com>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
-rw-r--r-- | malloc/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/malloc/Makefile b/malloc/Makefile index 2f9b3d596d..2af1203a0a 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)) |