[glib] Turn on glibc malloc checking features for make check



commit 61027a8b5ce75c68f2a6e84134ea88af1f8a5556
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Jul 10 17:06:41 2010 -0400

    Turn on glibc malloc checking features for make check

 Makefile.decl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.decl b/Makefile.decl
index c9f5d5f..eb8237a 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 $? ; \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]