summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorglider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-25 11:06:16 +0000
committerglider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-25 11:06:16 +0000
commit09c0077246c9be4122ca1fcbf892865a61ec12a8 (patch)
treeb950452f435eb2bc38fe3659fb3502f02d7bfb58 /tools
parent19c21ab2c25128adf65c39e11685993e4eea5bc7 (diff)
downloadchromium_src-09c0077246c9be4122ca1fcbf892865a61ec12a8.zip
chromium_src-09c0077246c9be4122ca1fcbf892865a61ec12a8.tar.gz
chromium_src-09c0077246c9be4122ca1fcbf892865a61ec12a8.tar.bz2
Backported the HEAP_CHECK_MAX_LEAKS feature from the upstream perftools.
This should allow the heapcheck bot to print all the leaks found. Review URL: http://codereview.chromium.org/522012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35274 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rw-r--r--tools/heapcheck/heapcheck_test.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/heapcheck/heapcheck_test.py b/tools/heapcheck/heapcheck_test.py
index 47d4064..f071435 100644
--- a/tools/heapcheck/heapcheck_test.py
+++ b/tools/heapcheck/heapcheck_test.py
@@ -45,6 +45,7 @@ class HeapcheckWrapper(object):
self.PutEnvAndLog('NSS_DISABLE_ARENA_FREE_LIST', '1')
self.PutEnvAndLog('GTEST_DEATH_TEST_USE_FORK', '1')
self.PutEnvAndLog('HEAPCHECK', self._mode)
+ self.PutEnvAndLog('HEAP_CHECK_MAX_LEAKS', '-1')
self.PutEnvAndLog('PPROF_PATH',
google.path_utils.ScriptDir() +
'/../../third_party/tcmalloc/chromium/src/pprof')