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

Unified Diff: build/scripts/master/factory/chromium_commands.py

Issue 11273046: Goal here is to collect total_coverage and unittests coverage numbers separately. Below are the ste… (Closed) Base URL: https://src.chromium.org/chrome/trunk/tools/
Patch Set: Created 8 years, 1 month 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 | « no previous file | build/scripts/slave/chromium/archive_coverage.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/scripts/master/factory/chromium_commands.py
===================================================================
--- build/scripts/master/factory/chromium_commands.py (revision 163846)
+++ build/scripts/master/factory/chromium_commands.py (working copy)
@@ -1360,6 +1360,17 @@
'.',
'--bundles', 'coverage_bundles.py']
self.AddTestStep(shell.ShellCommand, 'run_coverage_bundles', cmd)
+ # Run only unittests in this step.
+ cmd = [self._python,
+ os.path.join('src', 'tools', 'code_coverage', 'coverage_posix.py'),
+ '--build-dir',
+ self._build_dir,
+ '--target',
+ self._target,
+ '--src_root',
+ '.',
+ '--all_unittests', 'True']
+ self.AddTestStep(shell.ShellCommand, 'run_unittests_only', cmd)
def AddProcessCoverage(self, factory_properties=None):
factory_properties = factory_properties or {}
« no previous file with comments | « no previous file | build/scripts/slave/chromium/archive_coverage.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698