mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 23:28:20 +00:00
Add "# @no-test" tag to blacklist statements from test coverage analysis.
It can apply to either single statements: print "don't cover"; # @no-test or a block of statements: if ( F ) { # @no-test ... }
This commit is contained in:
parent
b6c3567ba4
commit
713e3ac5d0
6 changed files with 99 additions and 42 deletions
|
@ -216,6 +216,8 @@ ESCSEQ (\\([^\n]|[0-7]+|x[[:xdigit:]]+))
|
|||
}
|
||||
}
|
||||
|
||||
#{OWS}@no-test.* return TOK_NO_TEST;
|
||||
|
||||
#.* /* eat comments */
|
||||
|
||||
{WS} /* eat whitespace */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue