mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user