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

Unified Diff: tools/telemetry/third_party/coverage/metacov.ini

Issue 1366913004: Add coverage Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 | « tools/telemetry/third_party/coverage/lab/show_pyc.py ('k') | tools/telemetry/third_party/coverage/pylintrc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/third_party/coverage/metacov.ini
diff --git a/tools/telemetry/third_party/coverage/metacov.ini b/tools/telemetry/third_party/coverage/metacov.ini
new file mode 100644
index 0000000000000000000000000000000000000000..a356cb7e1a198e6c18081a0a4b088c0c8d62d041
--- /dev/null
+++ b/tools/telemetry/third_party/coverage/metacov.ini
@@ -0,0 +1,35 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
+# Settings to use when using coverage.py to measure itself.
+[run]
+branch = true
+data_file = $COVERAGE_METAFILE
+parallel = true
+source =
+ $COVERAGE_HOME/coverage
+ $COVERAGE_HOME/tests
+
+[report]
+# We set a different pragma so our code won't be confused with test code.
+exclude_lines =
+ # pragma: not covered
+ # pragma: nested
+ def __repr__
+ raise AssertionError
+ # pragma: debugging
+ # pragma: only failure
+
+partial_branches =
+ # pragma: part covered
+ if env.TESTING:
+
+ignore_errors = true
+precision = 1
+
+[paths]
+source =
+ .
+ *\coverage\trunk
+ */coverage/trunk
+ *\coveragepy
« no previous file with comments | « tools/telemetry/third_party/coverage/lab/show_pyc.py ('k') | tools/telemetry/third_party/coverage/pylintrc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698