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

Unified Diff: recipe_engine/third_party/expect_tests/cover.py

Issue 2655923003: [expect_tests] Add show_missing flag to coverage.report. (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_engine/third_party/expect_tests/cover.py
diff --git a/recipe_engine/third_party/expect_tests/cover.py b/recipe_engine/third_party/expect_tests/cover.py
index ab49f6a50a82be32c1a92f2f35e5fd411e91d859..ada4aa821f994cd4c12c56dbd900b90ba1099209 100644
--- a/recipe_engine/third_party/expect_tests/cover.py
+++ b/recipe_engine/third_party/expect_tests/cover.py
@@ -84,7 +84,8 @@ class CoverageContext(object):
outf = StringIO()
try:
- coverage_percent = self.cov.report(file=outf, omit=omit)
+ coverage_percent = self.cov.report(
+ file=outf, omit=omit, show_missing=True)
except coverage.CoverageException as ce:
if ce.message != 'No data to report.':
raise
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698