public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] Exclude tst-realloc from tests-mcheck
@ 2021-07-06 18:05 Siddhesh Poyarekar
0 siblings, 0 replies; only message in thread
From: Siddhesh Poyarekar @ 2021-07-06 18:05 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=7042b53f11339bc286270cd1a48eebf7989d198b
commit 7042b53f11339bc286270cd1a48eebf7989d198b
Author: Siddhesh Poyarekar <siddhesh@sourceware.org>
Date: Tue Jul 6 23:31:58 2021 +0530
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>
Diff:
---
malloc/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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))
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-07-06 18:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-06 18:05 [glibc] Exclude tst-realloc from tests-mcheck Siddhesh Poyarekar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).