Turn on glibc malloc checking features for make check

This commit is contained in:
Matthias Clasen 2010-07-10 17:06:41 -04:00
parent 48a04f9303
commit 61027a8b5c

View File

@ -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 $? ; \