summaryrefslogtreecommitdiffstats
path: root/tools/heapcheck/heapcheck_test.py
diff options
context:
space:
mode:
authorglider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-05 08:17:14 +0000
committerglider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-05 08:17:14 +0000
commit0f2b4b84082182cb56d4b513eeb15c8499170652 (patch)
tree62d8f6dd2b515ff5c1a163b46238edbce42d6e77 /tools/heapcheck/heapcheck_test.py
parent6db79624b138e9a9b98603d0a90cd51c5665436f (diff)
downloadchromium_src-0f2b4b84082182cb56d4b513eeb15c8499170652.zip
chromium_src-0f2b4b84082182cb56d4b513eeb15c8499170652.tar.gz
chromium_src-0f2b4b84082182cb56d4b513eeb15c8499170652.tar.bz2
Fix PYTHONPATH handling for heapchecker according to
http://codereview.chromium.org/1736026/show Review URL: http://codereview.chromium.org/1910003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46446 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/heapcheck/heapcheck_test.py')
-rw-r--r--tools/heapcheck/heapcheck_test.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/heapcheck/heapcheck_test.py b/tools/heapcheck/heapcheck_test.py
index 7a0132c..a4c27ff 100644
--- a/tools/heapcheck/heapcheck_test.py
+++ b/tools/heapcheck/heapcheck_test.py
@@ -13,7 +13,7 @@ import os
import re
import common
-import google.path_utils
+import path_utils
import suppressions
@@ -40,7 +40,7 @@ class HeapcheckWrapper(object):
def Execute(self):
"""Executes the app to be tested."""
logging.info('starting execution...')
- proc = ['sh', google.path_utils.ScriptDir() + '/heapcheck_std.sh']
+ proc = ['sh', path_utils.ScriptDir() + '/heapcheck_std.sh']
proc += self._args
self.PutEnvAndLog('G_SLICE', 'always-malloc')
self.PutEnvAndLog('NSS_DISABLE_ARENA_FREE_LIST', '1')
@@ -48,7 +48,7 @@ class HeapcheckWrapper(object):
self.PutEnvAndLog('HEAPCHECK', self._mode)
self.PutEnvAndLog('HEAP_CHECK_MAX_LEAKS', '-1')
self.PutEnvAndLog('PPROF_PATH',
- google.path_utils.ScriptDir() +
+ path_utils.ScriptDir() +
'/../../third_party/tcmalloc/chromium/src/pprof')
self.PutEnvAndLog('LD_PRELOAD', '/usr/lib/debug/libstdc++.so')