summaryrefslogtreecommitdiffstats
path: root/tools/valgrind/valgrind_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/valgrind/valgrind_test.py')
-rwxr-xr-xtools/valgrind/valgrind_test.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/valgrind/valgrind_test.py b/tools/valgrind/valgrind_test.py
index 6fc7da5..4306d29 100755
--- a/tools/valgrind/valgrind_test.py
+++ b/tools/valgrind/valgrind_test.py
@@ -84,6 +84,9 @@ class Valgrind(object):
logging.info("starting execution...")
proc = self.ValgrindCommand()
+ os.putenv("G_SLICE", "always-malloc")
+ os.putenv("NSS_DISABLE_ARENA_FREE_LIST", "1")
+
common.RunSubprocess(proc, self._timeout)
# Always return true, even if running the subprocess failed. We depend on