summaryrefslogtreecommitdiffstats
path: root/tools/code_coverage/coverage_posix.py
diff options
context:
space:
mode:
authorjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-03 02:06:36 +0000
committerjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-03 02:06:36 +0000
commita8d168162f5fd02cf27478c2e6914aeffd7f0941 (patch)
treef2ef4f17b5437285dd13983195192a150eddd87d /tools/code_coverage/coverage_posix.py
parent85ebceb234d6f71845dc198afdf18e3b73caa8d3 (diff)
downloadchromium_src-a8d168162f5fd02cf27478c2e6914aeffd7f0941.zip
chromium_src-a8d168162f5fd02cf27478c2e6914aeffd7f0941.tar.gz
chromium_src-a8d168162f5fd02cf27478c2e6914aeffd7f0941.tar.bz2
Add hard-coded win paths so bb happy.
Review URL: http://codereview.chromium.org/465020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33651 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/code_coverage/coverage_posix.py')
-rwxr-xr-xtools/code_coverage/coverage_posix.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/code_coverage/coverage_posix.py b/tools/code_coverage/coverage_posix.py
index b6fd1da..9d107d1 100755
--- a/tools/code_coverage/coverage_posix.py
+++ b/tools/code_coverage/coverage_posix.py
@@ -98,6 +98,10 @@ class Coverage(object):
self.genhtml = os.path.join(self.lcov_directory, 'genhtml')
self.programs = [self.lcov, self.mcov, self.genhtml]
else:
+ # Hack to get the buildbot working.
+ os.environ['PATH'] += r';c:\coverage\coverage_analyzer'
+ os.environ['PATH'] += r';c:\coverage\performance_tools'
+ # (end hack)
commands = ['vsperfcmd.exe', 'vsinstr.exe', 'coverage_analyzer.exe']
self.perf = self.FindInPath('vsperfcmd.exe')
self.instrument = self.FindInPath('vsinstr.exe')