diff options
author | Florian Weimer <fweimer@redhat.com> | 2016-08-02 17:01:02 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2016-08-02 17:06:11 +0200 |
commit | f690b56979dea81340a397c1b5e44827a6fb06e7 (patch) | |
tree | 8f35d95314bc9d487be96e6be7fb73c485ae0c72 /test-skeleton.c | |
parent | x86_64: Call finite scalar versions in vectorized log, pow, exp (bz #20033). (diff) | |
download | glibc-f690b56979dea81340a397c1b5e44827a6fb06e7.tar.gz glibc-f690b56979dea81340a397c1b5e44827a6fb06e7.tar.bz2 glibc-f690b56979dea81340a397c1b5e44827a6fb06e7.zip |
malloc: Run tests without calling mallopt [BZ #19469]
The compiled tests no longer refer to the mallopt symbol
from their main functions. (Some tests still call mallopt
explicitly, which is fine.)
Diffstat (limited to 'test-skeleton.c')
-rw-r--r-- | test-skeleton.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test-skeleton.c b/test-skeleton.c index d9bf989fa8..5a90c65826 100644 --- a/test-skeleton.c +++ b/test-skeleton.c @@ -346,8 +346,10 @@ main (int argc, char *argv[]) unsigned int timeoutfactor = 1; pid_t termpid; +#ifndef TEST_NO_MALLOPT /* Make uses of freed and uninitialized memory known. */ mallopt (M_PERTURB, 42); +#endif #ifdef STDOUT_UNBUFFERED setbuf (stdout, NULL); |