[clutter] conform: Set harsher environment for running tests



commit 6a502f7104a4febed535b398387b479862a8222c
Author: Emmanuele Bassi <ebassi linux intel com>
Date:   Tue Mar 20 16:18:20 2012 +0000

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/conform/run-tests.sh b/tests/conform/run-tests.sh
index 1104953..03f5a7a 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



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