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

@ -9,6 +9,9 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
compile (
v_flags2 => ["--lint-only"],
verilator_make_gcc => 0,
make_top_shell => 0,
make_main => 0,
) if $Self->{v3};
ok(1);

View File

@ -12,6 +12,9 @@ top_filename("t/t_lint_defparam.v");
compile (
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.