Fix defparam test failing after make clean

This commit is contained in:
Wilson Snyder 2011-01-01 18:12:29 -05:00
parent 326cc8fd67
commit 1e68086355
2 changed files with 11 additions and 5 deletions

View File

@ -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;

View File

@ -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.*',