Tests: Fix internal error stability

This commit is contained in:
Wilson Snyder 2022-11-20 07:45:51 -05:00
parent 5634e96bb6
commit 6297650fef
2 changed files with 2 additions and 2 deletions

View File

@ -2195,7 +2195,7 @@ sub files_identical {
&& !/\+\+\+ \/tmp\// # t_difftree.pl
} @l1;
@l1 = map {
s/(Internal Error: [^\n]+\.cpp):[0-9]+:/$1:#:/;
s/(Internal Error: [^\n]+\.(cpp|h)):[0-9]+:/$1:#:/;
s/^-V\{t[0-9]+,[0-9]+\}/-V{t#,#}/; # --vlt vs --vltmt run differences
$_;
} @l1;

View File

@ -15,7 +15,7 @@
: ... In instance t
28 | Pad pad0 (.pad(pad[g]),
| ^
%Error: Internal Error: t/t_tri_array.v:25:22: ../V3Dfg.h:529: DfgVertex is not of expected type, but instead has type 'VARPACKED'
%Error: Internal Error: t/t_tri_array.v:25:22: ../V3Dfg.h:#: DfgVertex is not of expected type, but instead has type 'VARPACKED'
25 | Pad pad1 (.pad(pad[g]),
| ^~~
... See the manual at https://verilator.org/verilator_doc.html for more assistance.