diff options
author | nsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-12 22:56:08 +0000 |
---|---|---|
committer | nsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-12 22:56:08 +0000 |
commit | f0b96132085de8ad62da7b10cc0c5ece8f003d58 (patch) | |
tree | 8e19736c2e1162abfe363b6b57c9bfff7f43c8ea /tools | |
parent | bf868f31aa29d66f3d63a90fb8062c160b438fe7 (diff) | |
download | chromium_src-f0b96132085de8ad62da7b10cc0c5ece8f003d58.zip chromium_src-f0b96132085de8ad62da7b10cc0c5ece8f003d58.tar.gz chromium_src-f0b96132085de8ad62da7b10cc0c5ece8f003d58.tar.bz2 |
Change the purify tests to run with the default memory allocator
instead of tcmalloc.
BUG=21432
Review URL: http://codereview.chromium.org/192081
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26083 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rw-r--r-- | tools/purify/chrome_tests.py | 4 |
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 |