From 1e6808635571455fa3761e6cff80fc59b4ec5e93 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Sat, 1 Jan 2011 18:12:29 -0500 Subject: [PATCH] Fix defparam test failing after make clean --- test_regress/t/t_lint_defparam.pl | 7 +++++-- test_regress/t/t_lint_defparam_bad.pl | 9 ++++++--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/test_regress/t/t_lint_defparam.pl b/test_regress/t/t_lint_defparam.pl index 3e31930e1..1cdbc8f7c 100755 --- a/test_regress/t/t_lint_defparam.pl +++ b/test_regress/t/t_lint_defparam.pl @@ -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; diff --git a/test_regress/t/t_lint_defparam_bad.pl b/test_regress/t/t_lint_defparam_bad.pl index 9cf9d8df3..03f8f16d7 100755 --- a/test_regress/t/t_lint_defparam_bad.pl +++ b/test_regress/t/t_lint_defparam_bad.pl @@ -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.*',