Adopt the LCOV convention for marking lines as unreachable by tests.

Document this convention.

Add a script to post-process .gcov files in order to stop nagging us
about excluded lines.

Teach cov-diff to handle these post-processed files.

Closes ticket 16792
This commit is contained in:
Nick Mathewson
2016-04-12 21:12:10 -04:00
parent bd34edc18d
commit 4043f2c95f
4 changed files with 50 additions and 2 deletions
+7
View File
@@ -0,0 +1,7 @@
o Minor features (testing):
- Use the lcov convention for marking lines as unreachable, so that
we don't count them when we're generating test coverage data.
Update our coverage tools to understand this convention.
Closes ticket #16792.