mirror of
https://github.com/verilator/verilator.git
synced 2025-01-23 23:04:14 +00:00
Fix defparam test failing after make clean
This commit is contained in:
parent
326cc8fd67
commit
1e68086355
@ -8,8 +8,11 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
|
||||
# Version 2.0.
|
||||
|
||||
compile (
|
||||
v_flags2 => ["--lint-only"],
|
||||
) if $Self->{v3};
|
||||
v_flags2 => ["--lint-only"],
|
||||
verilator_make_gcc => 0,
|
||||
make_top_shell => 0,
|
||||
make_main => 0,
|
||||
) if $Self->{v3};
|
||||
|
||||
ok(1);
|
||||
1;
|
||||
|
@ -10,9 +10,12 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
|
||||
top_filename("t/t_lint_defparam.v");
|
||||
|
||||
compile (
|
||||
v_flags2 => ["--lint-only -Wwarn-style -Wno-DECLFILENAME"],
|
||||
fails=>1,
|
||||
expect=>
|
||||
v_flags2 => ["--lint-only -Wwarn-style -Wno-DECLFILENAME"],
|
||||
fails=>1,
|
||||
verilator_make_gcc => 0,
|
||||
make_top_shell => 0,
|
||||
make_main => 0,
|
||||
expect=>
|
||||
'%Warning-DEFPARAM: t/t_lint_defparam.v:\d+: Suggest replace defparam with Verilog 2001 #\(.P\(...etc...\)\)
|
||||
%Warning-DEFPARAM: Use .* to disable this message.
|
||||
%Error: Exiting due to.*',
|
||||
|
Loading…
Reference in New Issue
Block a user