summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-07-10 17:06:41 -0400
committerMatthias Clasen <mclasen@redhat.com>2010-07-10 17:10:31 -0400
commit61027a8b5ce75c68f2a6e84134ea88af1f8a5556 (patch)
tree01707bfc986cca7ae884606e8cfcead1a163690e
parent48a04f9303294304db5693acb1e4421cfdd4464a (diff)
Turn on glibc malloc checking features for make check
-rw-r--r--Makefile.decl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.decl b/Makefile.decl
index c9f5d5f50..eb8237a8e 100644
--- a/Makefile.decl
+++ b/Makefile.decl
@@ -13,7 +13,7 @@ TEST_PROGS =
# test: run all tests in cwd and subdirs
test: ${TEST_PROGS}
if OS_UNIX
- @test -z "${TEST_PROGS}" || ${GTESTER} --verbose ${TEST_PROGS}
+ @test -z "${TEST_PROGS}" || MALLOC_CHECK_=2 MALLOC_PERTURB_=$$(($${RANDOM:-256} % 256)) ${GTESTER} --verbose ${TEST_PROGS}
@ for subdir in $(SUBDIRS) . ; do \
test "$$subdir" = "." -o "$$subdir" = "po" || \
( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \