From 6a502f7104a4febed535b398387b479862a8222c Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 20 Mar 2012 16:18:20 +0000 Subject: [PATCH] conform: Set harsher environment for running tests Set the MALLOC_CHECK_ and MALLOC_PERTURB_ environment variables to catch allocation issues. --- tests/conform/run-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conform/run-tests.sh b/tests/conform/run-tests.sh index 1104953a8..03f5a7af3 100755 --- a/tests/conform/run-tests.sh +++ b/tests/conform/run-tests.sh @@ -9,4 +9,4 @@ do TESTS="$TESTS wrappers/`basename $i`" done -exec gtester "$@" $TESTS +G_DEBUG=gc-friendly MALLOC_CHECK_=2 MALLOC_PERTURB_=$((${RANDOM:-256} % 256)) gtester "$@" $TESTS