Tests: Remove unneeded SystemPerl dependencies.

This commit is contained in:
Wilson Snyder 2014-11-23 22:18:07 -05:00
parent 903ee0622d
commit 4a3bdc340d
9 changed files with 8 additions and 12 deletions

View File

@ -633,10 +633,6 @@ sub compile {
$self->skip("Test requires SystemC; ignore error since not installed\n"); $self->skip("Test requires SystemC; ignore error since not installed\n");
return 1; return 1;
} }
elsif ($self->{coverage} && !$Have_System_Perl) {
$self->skip("Test requires SystemPerl; ignore error since not installed\n");
return 1;
}
if (!$param{fails} && $param{verilator_make_gcc} if (!$param{fails} && $param{verilator_make_gcc}
&& $param{make_main}) { && $param{make_main}) {

View File

@ -10,7 +10,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
top_filename("t/t_assert_basic.v"); top_filename("t/t_assert_basic.v");
compile ( compile (
verilator_flags2 => ['--assert --sp --coverage-user'], verilator_flags2 => ['--assert --cc --coverage-user'],
); );
execute ( execute (

View File

@ -10,7 +10,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
top_filename("t/t_assert_cover.v"); top_filename("t/t_assert_cover.v");
compile ( compile (
verilator_flags2 => ['--assert --sp --coverage-user'], verilator_flags2 => ['--assert --cc --coverage-user'],
nc_flags2 => ["+nccovoverwrite +nccoverage+all +nccovtest+$Self->{name}"] nc_flags2 => ["+nccovoverwrite +nccoverage+all +nccovtest+$Self->{name}"]
); );

View File

@ -8,7 +8,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
# Version 2.0. # Version 2.0.
compile ( compile (
verilator_flags2 => ['--assert --sp --coverage-user'], verilator_flags2 => ['--assert --cc --coverage-user'],
); );
execute ( execute (

View File

@ -8,7 +8,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
# Version 2.0. # Version 2.0.
compile ( compile (
verilator_flags2 => ['--sp --coverage-toggle --stats'], verilator_flags2 => ['--cc --coverage-toggle --stats'],
); );
execute ( execute (

View File

@ -12,7 +12,7 @@ top_filename("t/t_flag_werror.v");
compile ( compile (
v_flags2 => ["--lint-only"], v_flags2 => ["--lint-only"],
fails=>$Self->{v3}, fails=>$Self->{v3},
verilator_flags=> [qw(-sp -Werror-WIDTH)], verilator_flags=> [qw(-cc -Werror-WIDTH)],
expect=> expect=>
q{%Error-WIDTH: t/t_flag_werror.v:\d+: Operator ASSIGNW expects 4 bits on the Assign RHS, but Assign RHS.s CONST '6'h2e' generates 6 bits. q{%Error-WIDTH: t/t_flag_werror.v:\d+: Operator ASSIGNW expects 4 bits on the Assign RHS, but Assign RHS.s CONST '6'h2e' generates 6 bits.
%Error: Exiting due to}, %Error: Exiting due to},

View File

@ -9,7 +9,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
compile ( compile (
make_top_shell=>0, make_top_shell=>0,
verilator_flags2 => [qw(-sp -Wno-WIDTH)], verilator_flags2 => [qw(-sc -Wno-WIDTH)],
verilator_make_gcc=>0, verilator_make_gcc=>0,
); );

View File

@ -12,7 +12,7 @@ top_filename("t/t_inst_overwide.v");
compile ( compile (
v_flags2 => ["--lint-only"], v_flags2 => ["--lint-only"],
make_top_shell=>0, make_top_shell=>0,
verilator_flags=> [qw(-sp)], verilator_flags=> [qw(-cc)],
verilator_make_gcc=>0, verilator_make_gcc=>0,
fails=>$Self->{v3}, fails=>$Self->{v3},
expect=> expect=>

View File

@ -10,7 +10,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
top_filename("t/t_mem_multidim.v"); top_filename("t/t_mem_multidim.v");
compile ( compile (
verilator_flags2 => ['--sp --trace'], verilator_flags2 => ['--cc --trace'],
); );
execute ( execute (