summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/purify/chrome_tests.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/purify/chrome_tests.py b/tools/purify/chrome_tests.py
index b6cdf7e..d5a4c3c 100644
--- a/tools/purify/chrome_tests.py
+++ b/tools/purify/chrome_tests.py
@@ -43,6 +43,10 @@ class ChromeTests:
if test not in self._test_list:
raise TestNotFound("Unknown test: %s" % test)
+ # Make sure tests running under purify are using the
+ # normal memory allocator instead of tcmalloc.
+ os.environ["CHROME_ALLOCATOR"] = "winheap"
+
self._options = options
self._args = args
self._test = test