Teach cov-exclude to detect runaway LCOV_EXCL_START lines

Also, fix two instances of runaway LCOV_EXCL_START lines.
This commit is contained in:
Nick Mathewson
2017-04-25 10:59:19 -04:00
parent 7a37cbbea3
commit 43db91bd87
3 changed files with 8 additions and 2 deletions
+6
View File
@@ -26,3 +26,9 @@ if ($excluding or $exclude_this) {
s{^\s*\#\#+:}{ x:};
s{^ (\s*)(\d+):}{$1!!!$2:};
}
if (eof and $excluding) {
warn "Runaway LCOV_EXCL_START in $ARGV";
$excluding = 0;
}