Tests: Favor use of expect_filename. No functional change.
This commit is contained in:
parent
e6c91f59ab
commit
0a755e6ecf
|
|
@ -0,0 +1,3 @@
|
||||||
|
[40] %Error: t_assert_synth.v:30: Assertion failed in top.t: synthesis full_case, but non-match found
|
||||||
|
%Error: t/t_assert_synth.v:30: Verilog $stop
|
||||||
|
Aborting...
|
||||||
|
|
@ -20,8 +20,7 @@ compile(
|
||||||
execute(
|
execute(
|
||||||
check_finished => 0,
|
check_finished => 0,
|
||||||
fails => $Self->{vlt_all},
|
fails => $Self->{vlt_all},
|
||||||
expect =>
|
expect_filename => $Self->{golden_filename},
|
||||||
'%Error: t_assert_synth.v:30: Assertion failed in top.t: synthesis full_case'
|
|
||||||
);
|
);
|
||||||
|
|
||||||
ok(1);
|
ok(1);
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
[40] %Error: t_assert_synth.v:49: Assertion failed in top.t: synthesis parallel_case, but multiple matches found
|
||||||
|
%Error: t/t_assert_synth.v:49: Verilog $stop
|
||||||
|
Aborting...
|
||||||
|
|
@ -20,8 +20,7 @@ compile(
|
||||||
execute(
|
execute(
|
||||||
check_finished => 0,
|
check_finished => 0,
|
||||||
fails => $Self->{vlt_all},
|
fails => $Self->{vlt_all},
|
||||||
expect =>
|
expect_filename => $Self->{golden_filename},
|
||||||
'%Error: t_assert_synth.v:\d+: Assertion failed in top.t: synthesis parallel_case'
|
|
||||||
);
|
);
|
||||||
|
|
||||||
ok(1);
|
ok(1);
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
[40] %Error: t_assert_synth.v:54: Assertion failed in top.t: synthesis parallel_case, but multiple matches found
|
||||||
|
%Error: t/t_assert_synth.v:54: Verilog $stop
|
||||||
|
Aborting...
|
||||||
|
|
@ -20,8 +20,7 @@ compile(
|
||||||
execute(
|
execute(
|
||||||
check_finished => 0,
|
check_finished => 0,
|
||||||
fails => $Self->{vlt_all},
|
fails => $Self->{vlt_all},
|
||||||
expect =>
|
expect_filename => $Self->{golden_filename},
|
||||||
'%Error: t_assert_synth.v:\d+: Assertion failed in top.t: synthesis parallel_case'
|
|
||||||
);
|
);
|
||||||
|
|
||||||
ok(1);
|
ok(1);
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
%Error: t/t_preproc_inc_inc_bad.vh:10: syntax error, unexpected endmodule, expecting IDENTIFIER
|
||||||
|
endmodule
|
||||||
|
^~~~~~~~~
|
||||||
|
t/t_preproc_inc_bad.v:9: ... note: In file included from t_preproc_inc_bad.v
|
||||||
|
%Error: Exiting due to
|
||||||
|
|
@ -12,8 +12,7 @@ scenarios(vlt => 1);
|
||||||
lint(
|
lint(
|
||||||
fails => 1,
|
fails => 1,
|
||||||
# The .vh file has the error, not the .v file
|
# The .vh file has the error, not the .v file
|
||||||
expect =>
|
expect_filename => $Self->{golden_filename},
|
||||||
'%Error: t/t_preproc_inc_inc_bad.vh:10: syntax error, unexpected endmodule, expecting IDENTIFIER'
|
|
||||||
);
|
);
|
||||||
|
|
||||||
ok(1);
|
ok(1);
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
%Error: t/t_sys_readmem_bad_addr.mem:8: $readmem file address beyond bounds of array
|
||||||
|
Aborting...
|
||||||
|
|
@ -14,8 +14,7 @@ compile(
|
||||||
|
|
||||||
execute(
|
execute(
|
||||||
fails => $Self->{vlt_all},
|
fails => $Self->{vlt_all},
|
||||||
expect =>
|
expect_filename => $Self->{golden_filename},
|
||||||
'%Error: t/t_sys_readmem_bad_addr.mem:\d+: \$readmem file address beyond bounds of array',
|
|
||||||
);
|
);
|
||||||
|
|
||||||
ok(1);
|
ok(1);
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
%Error: t/t_sys_readmem_bad_digit.mem:7: $readmemb (binary) file contains hex characters
|
||||||
|
Aborting...
|
||||||
|
|
@ -14,8 +14,7 @@ compile(
|
||||||
|
|
||||||
execute(
|
execute(
|
||||||
fails => $Self->{vlt_all},
|
fails => $Self->{vlt_all},
|
||||||
expect =>
|
expect_filename => $Self->{golden_filename},
|
||||||
'%Error: t/t_sys_readmem_bad_digit.mem:\d+: \$readmemb \(binary\) file contains hex characters',
|
|
||||||
);
|
);
|
||||||
|
|
||||||
ok(1);
|
ok(1);
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
%Error: t/t_sys_readmem_bad_end.mem:11: $readmem file ended before specified final address (IEEE 2017 21.4)
|
||||||
|
Aborting...
|
||||||
|
|
@ -14,8 +14,7 @@ compile(
|
||||||
|
|
||||||
execute(
|
execute(
|
||||||
fails => $Self->{vlt_all},
|
fails => $Self->{vlt_all},
|
||||||
expect =>
|
expect_filename => $Self->{golden_filename},
|
||||||
'%Error: t/t_sys_readmem_bad_end.mem:\d+: \$readmem file ended before specified final address',
|
|
||||||
);
|
);
|
||||||
|
|
||||||
ok(1);
|
ok(1);
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
%Error: t/t_sys_readmem_bad_NOTFOUND.mem:0: $readmem file not found
|
||||||
|
Aborting...
|
||||||
|
|
@ -14,8 +14,7 @@ compile(
|
||||||
|
|
||||||
execute(
|
execute(
|
||||||
fails => $Self->{vlt_all},
|
fails => $Self->{vlt_all},
|
||||||
expect =>
|
expect_filename => $Self->{golden_filename},
|
||||||
'%Error: t/t_sys_readmem_bad_NOTFOUND.mem:\d+: \$readmem file not found',
|
|
||||||
);
|
);
|
||||||
|
|
||||||
ok(1);
|
ok(1);
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
testing fail 1: 1
|
||||||
|
[10] %Error: t_uniqueif.v:73: Assertion failed in top.t: 'unique if' statement violated
|
||||||
|
%Error: t/t_uniqueif.v:73: Verilog $stop
|
||||||
|
Aborting...
|
||||||
|
|
@ -20,10 +20,7 @@ compile(
|
||||||
|
|
||||||
execute(
|
execute(
|
||||||
fails => $Self->{vlt_all},
|
fails => $Self->{vlt_all},
|
||||||
expect =>
|
expect_filename => $Self->{golden_filename},
|
||||||
'.*%Error: t_uniqueif.v:\d+: Assertion failed in top.t: \'unique if\' statement violated
|
|
||||||
%Error: t/t_uniqueif.v:\d+: Verilog \$stop
|
|
||||||
.*',
|
|
||||||
);
|
);
|
||||||
|
|
||||||
ok(1);
|
ok(1);
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
[10] %Error: t_uniqueif.v:81: Assertion failed in top.t: 'unique if' statement violated
|
||||||
|
%Error: t/t_uniqueif.v:81: Verilog $stop
|
||||||
|
Aborting...
|
||||||
|
|
@ -20,10 +20,7 @@ compile(
|
||||||
|
|
||||||
execute(
|
execute(
|
||||||
fails => $Self->{vlt_all},
|
fails => $Self->{vlt_all},
|
||||||
expect =>
|
expect_filename => $Self->{golden_filename},
|
||||||
'.*%Error: t_uniqueif.v:\d+: Assertion failed in top.t: \'unique if\' statement violated
|
|
||||||
%Error: t/t_uniqueif.v:\d+: Verilog \$stop
|
|
||||||
.*',
|
|
||||||
);
|
);
|
||||||
|
|
||||||
ok(1);
|
ok(1);
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
[10] %Error: t_uniqueif.v:89: Assertion failed in top.t: 'unique if' statement violated
|
||||||
|
%Error: t/t_uniqueif.v:89: Verilog $stop
|
||||||
|
Aborting...
|
||||||
|
|
@ -20,10 +20,7 @@ compile(
|
||||||
|
|
||||||
execute(
|
execute(
|
||||||
fails => $Self->{vlt_all},
|
fails => $Self->{vlt_all},
|
||||||
expect =>
|
expect_filename => $Self->{golden_filename},
|
||||||
'.*%Error: t_uniqueif.v:\d+: Assertion failed in top.t: \'unique if\' statement violated
|
|
||||||
%Error: t/t_uniqueif.v:\d+: Verilog \$stop
|
|
||||||
.*',
|
|
||||||
);
|
);
|
||||||
|
|
||||||
ok(1);
|
ok(1);
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
[10] %Error: t_uniqueif.v:101: Assertion failed in top.t: 'unique if' statement violated
|
||||||
|
%Error: t/t_uniqueif.v:101: Verilog $stop
|
||||||
|
Aborting...
|
||||||
|
|
@ -20,10 +20,7 @@ compile(
|
||||||
|
|
||||||
execute(
|
execute(
|
||||||
fails => $Self->{vlt_all},
|
fails => $Self->{vlt_all},
|
||||||
expect =>
|
expect_filename => $Self->{golden_filename},
|
||||||
'.*%Error: t_uniqueif.v:\d+: Assertion failed in top.t: \'unique if\' statement violated
|
|
||||||
%Error: t/t_uniqueif.v:\d+: Verilog \$stop
|
|
||||||
.*',
|
|
||||||
);
|
);
|
||||||
|
|
||||||
ok(1);
|
ok(1);
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
%Error: unknown:0: Testbench C set input 'clk' to value that overflows what the signal's width can fit
|
||||||
|
Aborting...
|
||||||
|
|
@ -16,9 +16,7 @@ compile(
|
||||||
|
|
||||||
execute(
|
execute(
|
||||||
fails => 1,
|
fails => 1,
|
||||||
expect =>
|
expect_filename => $Self->{golden_filename},
|
||||||
qr{%Error: unknown:0: Testbench C set input 'clk' to value that overflows what the signal's width can fit
|
|
||||||
Aborting....*}
|
|
||||||
);
|
);
|
||||||
|
|
||||||
ok(1);
|
ok(1);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue