forked from github/verilator
Tests: Ignore commented out messages
This commit is contained in:
parent
3a01c32bf9
commit
3219ffddd4
@ -31,7 +31,6 @@ foreach my $s (
|
|||||||
'dynamic new() not expected in this context (expected under an assign)', # Instead get syntax error
|
'dynamic new() not expected in this context (expected under an assign)', # Instead get syntax error
|
||||||
# Not yet analyzed
|
# Not yet analyzed
|
||||||
' is not an in/out/inout/param/interface: ',
|
' is not an in/out/inout/param/interface: ',
|
||||||
'Descending instance range connecting to ',
|
|
||||||
' loading non-variable',
|
' loading non-variable',
|
||||||
'--pipe-filter protocol error, unexpected: ',
|
'--pipe-filter protocol error, unexpected: ',
|
||||||
'/*verilator sformat*/ can only be applied to last argument of ',
|
'/*verilator sformat*/ can only be applied to last argument of ',
|
||||||
@ -177,6 +176,7 @@ sub read_messages {
|
|||||||
line:
|
line:
|
||||||
while (my $origline = ($fh && $fh->getline)) {
|
while (my $origline = ($fh && $fh->getline)) {
|
||||||
my $line = $origline;
|
my $line = $origline;
|
||||||
|
next if $line =~ m!^\s*//!;
|
||||||
++$lineno;
|
++$lineno;
|
||||||
if ($line =~ /\b(v3error|v3warn)\b\($/g) {
|
if ($line =~ /\b(v3error|v3warn)\b\($/g) {
|
||||||
$read_next = 1 if $line !~ /LCOV_EXCL_LINE/;
|
$read_next = 1 if $line !~ /LCOV_EXCL_LINE/;
|
||||||
|
Loading…
Reference in New Issue
Block a user