mirror of
https://github.com/verilator/verilator.git
synced 2025-07-31 07:56:10 +00:00
Tests: Fix bison-dependent .out
This commit is contained in:
parent
0716a28816
commit
d33a3d09f7
@ -99,7 +99,6 @@ foreach my $s (
|
||||
'Syntax error parsing real: \'',
|
||||
'Syntax error: \'virtual\' not allowed before var declaration',
|
||||
'This may be because there\'s no search path specified with -I<dir>.',
|
||||
'Thread scheduler is unable to provide requested ',
|
||||
'Unexpected connection to arrayed port',
|
||||
'Unhandled attribute type',
|
||||
'Unknown Error Code: ',
|
||||
@ -243,7 +242,10 @@ sub read_messages {
|
||||
|
||||
sub read_outputs {
|
||||
file:
|
||||
foreach my $filename (glob ("$root/test_regress/t/*.out $root/docs/gen/*.rst")) {
|
||||
foreach my $filename (glob ("$root/test_regress/t/*.pl"
|
||||
. " $root/test_regress/t/*.out"
|
||||
. " $root/docs/gen/*.rst")) {
|
||||
next if $filename =~ /t_dist_warn_coverage/; # Avoid our own suppressions
|
||||
my $fh = IO::File->new("<$filename")
|
||||
or error("$! $filename");
|
||||
while (my $line = ($fh && $fh->getline)) {
|
||||
|
@ -1,3 +0,0 @@
|
||||
%Error: t/t_udp_tableeof_bad.v:16:1: EOF in 'table'
|
||||
%Error: t/t_udp_tableeof_bad.v:16:1: syntax error, unexpected end of file, expecting TABLE LINE or endtable
|
||||
%Error: Cannot continue
|
@ -13,7 +13,8 @@ scenarios(linter => 1);
|
||||
lint(
|
||||
verilator_flags2 => ["--lint-only --bbox-unsup"],
|
||||
fails => $Self->{vlt_all},
|
||||
expect_filename => $Self->{golden_filename},
|
||||
# Cannot use .out, get "$end" or "end of file" depending on bison version
|
||||
expect => qr/EOF in 'table'/,
|
||||
);
|
||||
|
||||
ok(1);
|
||||
|
Loading…
Reference in New Issue
Block a user