Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Unified Diff: tools/code_coverage/coverage_posix.py

Issue 141016: Fix Linux code coverage. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome.gyp ('k') | tools/code_coverage/croc.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/code_coverage/coverage_posix.py
===================================================================
--- tools/code_coverage/coverage_posix.py (revision 18506)
+++ tools/code_coverage/coverage_posix.py (working copy)
@@ -138,7 +138,7 @@
# If asked, make this REAL fast for testing.
if self.options.fast_test:
- cmdlist.append('--gtest_filter=TupleTest*')
+ cmdlist.append('--gtest_filter=RenderWidgetHost*')
retcode = subprocess.call(cmdlist)
if retcode:
@@ -149,16 +149,9 @@
def GenerateLcov(self):
"""Convert profile data to lcov."""
- if self.IsLinux():
- command = [self.lcov,
- '--directory', self.directory,
- '--capture',
- '--output-file',
- self.coverage_info_file]
- else:
- command = [self.mcov,
- '--directory', self.directory_parent,
- '--output', self.coverage_info_file]
+ command = [self.mcov,
+ '--directory', self.directory_parent,
+ '--output', self.coverage_info_file]
print >>sys.stderr, 'Assembly command: ' + ' '.join(command)
retcode = subprocess.call(command)
if retcode:
« no previous file with comments | « chrome/chrome.gyp ('k') | tools/code_coverage/croc.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698