mirror of
https://github.com/verilator/verilator.git
synced 2025-04-30 04:26:55 +00:00
Fix t_case_write* mis-sharing variable
This commit is contained in:
parent
82d917c2c5
commit
65714165f9
@ -7,7 +7,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
|
|||||||
# Lesser General Public License Version 3 or the Perl Artistic License
|
# Lesser General Public License Version 3 or the Perl Artistic License
|
||||||
# Version 2.0.
|
# Version 2.0.
|
||||||
|
|
||||||
$golden_out ||= "t/$Self->{name}.out";
|
$Self->{golden_out} ||= "t/$Self->{name}.out";
|
||||||
|
|
||||||
compile (
|
compile (
|
||||||
v_flags2 => [$Self->{v3}?"--stats --O3 -x-assign fast":""],
|
v_flags2 => [$Self->{v3}?"--stats --O3 -x-assign fast":""],
|
||||||
@ -17,5 +17,5 @@ execute (
|
|||||||
check_finished=>1,
|
check_finished=>1,
|
||||||
);
|
);
|
||||||
|
|
||||||
ok(files_identical("$Self->{obj_dir}/$Self->{name}_logger.log", $golden_out));
|
ok(files_identical("$Self->{obj_dir}/$Self->{name}_logger.log", $Self->{golden_out}));
|
||||||
1;
|
1;
|
||||||
|
@ -7,7 +7,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
|
|||||||
# Lesser General Public License Version 3 or the Perl Artistic License
|
# Lesser General Public License Version 3 or the Perl Artistic License
|
||||||
# Version 2.0.
|
# Version 2.0.
|
||||||
|
|
||||||
$golden_out ||= "t/$Self->{name}.out";
|
$Self->{golden_out} ||= "t/$Self->{name}.out";
|
||||||
|
|
||||||
compile (
|
compile (
|
||||||
v_flags2 => [$Self->{v3}?"--stats --O3 -x-assign fast":""],
|
v_flags2 => [$Self->{v3}?"--stats --O3 -x-assign fast":""],
|
||||||
@ -17,6 +17,6 @@ execute (
|
|||||||
check_finished=>1,
|
check_finished=>1,
|
||||||
);
|
);
|
||||||
|
|
||||||
ok(files_identical("$Self->{obj_dir}/$Self->{name}_logger.log", $golden_out));
|
ok(files_identical("$Self->{obj_dir}/$Self->{name}_logger.log", $Self->{golden_out}));
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
Loading…
Reference in New Issue
Block a user