Enable now supported tests for string array initializers

Fixes #2895.
This commit is contained in:
Geza Lore 2021-07-23 17:16:10 +01:00
parent 4ab4c0c8ba
commit 90c917ee83
4 changed files with 42 additions and 6 deletions

View File

@ -13,11 +13,12 @@ Verilator 4.211 devel
**Minor:**
* Fix -G to treat simple integer literals as signed (#3060). [Anikin1610]
* Output files are split based on the set of headers required
in order to aid incremental compilation via ccache (#3071). [Geza Lore]
* Parameter values are now emitted as 'static constexpr' instead of enum.
C++ direct references to parameters might require updating (#3077). [Geza Lore]
* Fix -G to treat simple integer literals as signed (#3060). [Anikin1610]
* Fix emitted string array initializers (#2895). [Iztok Jeras]
Verilator 4.210 2021-07-07

View File

@ -10,8 +10,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
scenarios(simulator => 1);
# TODO change to compile()
lint(
compile(
);
# No execute, not self-checking

View File

@ -0,0 +1,34 @@
REGX: zero
REGX: ra
REGX: sp
REGX: gp
REGX: tp
REGX: t0
REGX: t1
REGX: t2
REGX: s0/fp
REGX: s1
REGX: a0
REGX: a1
REGX: a2
REGX: a3
REGX: a4
REGX: a5
REGX: a6
REGX: a7
REGX: s2
REGX: s3
REGX: s4
REGX: s5
REGX: s6
REGX: s7
REGX: s8
REGX: s9
REGX: s10
REGX: s11
REGX: t3
REGX: t4
REGX: t5
REGX: t6
OP: ILLEGAL
*-* All Finished *-*

View File

@ -10,11 +10,13 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
scenarios(simulator => 1);
# TODO change to compile()
lint(
compile(
);
# No execute, not self-checking
execute(
check_finished => 1,
expect_filename => $Self->{golden_filename}
);
ok(1);
1;