mirror of
https://github.com/verilator/verilator.git
synced 2025-04-16 01:26:54 +00:00
Do not generate debug info in tests
Pointless and takes up a lot of cache space in CI, so remove -ggdb and associated debug options from tests.
This commit is contained in:
parent
2d2bd5b95e
commit
c67fe02f06
@ -11,7 +11,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
|
||||
scenarios(simulator => 1);
|
||||
|
||||
compile(make_main => 0,
|
||||
verilator_flags2 => ["-CFLAGS -g3 --exe $Self->{t_dir}/$Self->{name}.cpp"]);
|
||||
verilator_flags2 => ["--exe $Self->{t_dir}/$Self->{name}.cpp"]);
|
||||
|
||||
execute(check_finished => 1);
|
||||
|
||||
|
@ -11,7 +11,6 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
|
||||
scenarios(simulator => 1);
|
||||
|
||||
compile(
|
||||
verilator_flags2 => ["-CFLAGS '-DVL_DEBUG -ggdb -O0'"],
|
||||
);
|
||||
|
||||
execute(
|
||||
|
@ -16,7 +16,7 @@ skip("Known compiler limitation")
|
||||
compile(
|
||||
make_top_shell => 0,
|
||||
make_main => 0,
|
||||
verilator_flags2 => ["-CFLAGS '-DVL_DEBUG -ggdb' --exe --vpi --no-l2name $Self->{t_dir}/t_vpi_get.cpp"],
|
||||
verilator_flags2 => ["--exe --vpi --no-l2name $Self->{t_dir}/t_vpi_get.cpp"],
|
||||
make_pli => 1,
|
||||
iv_flags2 => ["-g2005-sv -D USE_VPI_NOT_DPI"],
|
||||
v_flags2 => ["+define+USE_VPI_NOT_DPI +define+VERILATOR_COMMENTS"],
|
||||
|
@ -20,7 +20,7 @@ pli_filename("t_vpi_get.cpp");
|
||||
compile(
|
||||
make_top_shell => 0,
|
||||
make_main => 0,
|
||||
verilator_flags2 => ["-CFLAGS '-DVL_DEBUG -ggdb' --exe --vpi"
|
||||
verilator_flags2 => ["--exe --vpi"
|
||||
." --public-flat-rw --prefix Vt_vpi_get --no-l2name"
|
||||
." $Self->{t_dir}/t_vpi_get.cpp"],
|
||||
make_pli => 1,
|
||||
|
@ -19,7 +19,7 @@ compile(
|
||||
make_pli => 1,
|
||||
iv_flags2 => ["-g2005-sv -D USE_VPI_NOT_DPI"],
|
||||
v_flags2 => ["+define+USE_VPI_NOT_DPI"],
|
||||
verilator_flags2 => ["-CFLAGS '-DVL_DEBUG -ggdb' --exe --vpi --no-l2name $Self->{t_dir}/t_vpi_memory.cpp"],
|
||||
verilator_flags2 => ["--exe --vpi --no-l2name $Self->{t_dir}/t_vpi_memory.cpp"],
|
||||
);
|
||||
|
||||
execute(
|
||||
|
@ -18,7 +18,7 @@ compile(
|
||||
make_main => 0,
|
||||
make_pli => 1,
|
||||
iv_flags2 => ["-g2005-sv"],
|
||||
verilator_flags2 => ["-CFLAGS '-DVL_DEBUG -ggdb' +define+USE_DOLLAR_C32 --exe --vpi --no-l2name $Self->{t_dir}/t_vpi_module.cpp"],
|
||||
verilator_flags2 => ["+define+USE_DOLLAR_C32 --exe --vpi --no-l2name $Self->{t_dir}/t_vpi_module.cpp"],
|
||||
);
|
||||
|
||||
execute(
|
||||
|
@ -22,7 +22,7 @@ compile(
|
||||
make_main => 0,
|
||||
make_pli => 1,
|
||||
iv_flags2 => ["-g2005-sv"],
|
||||
verilator_flags2 => ["-CFLAGS '-DVL_DEBUG -ggdb' --exe --vpi --no-l2name $Self->{t_dir}/t_vpi_module.cpp"],
|
||||
verilator_flags2 => ["--exe --vpi --no-l2name $Self->{t_dir}/t_vpi_module.cpp"],
|
||||
);
|
||||
|
||||
execute(
|
||||
|
@ -19,7 +19,7 @@ compile(
|
||||
make_pli => 1,
|
||||
iv_flags2 => ["-g2005-sv -D USE_VPI_NOT_DPI"],
|
||||
v_flags2 => ["+define+USE_VPI_NOT_DPI"],
|
||||
verilator_flags2 => ["-CFLAGS '-DVL_DEBUG -ggdb' --exe --vpi --no-l2name $Self->{t_dir}/t_vpi_param.cpp"],
|
||||
verilator_flags2 => ["--exe --vpi --no-l2name $Self->{t_dir}/t_vpi_param.cpp"],
|
||||
);
|
||||
|
||||
execute(
|
||||
|
@ -16,7 +16,7 @@ compile(
|
||||
sim_time => 2100,
|
||||
v_flags2 => ["t/t_vpi_time_cb_c.cpp"],
|
||||
iv_flags2 => ["-g2005-sv -DWAVES -DIVERILOG"],
|
||||
verilator_flags2 => ["-CFLAGS '-DVL_DEBUG -ggdb' --exe --vpi --no-l2name $Self->{t_dir}/t_vpi_time_cb.cpp"],
|
||||
verilator_flags2 => ["--exe --vpi --no-l2name $Self->{t_dir}/t_vpi_time_cb.cpp"],
|
||||
);
|
||||
|
||||
execute(
|
||||
|
@ -13,7 +13,7 @@ scenarios(simulator => 1);
|
||||
compile(
|
||||
make_top_shell => 0,
|
||||
make_main => 0,
|
||||
verilator_flags2 => ["-CFLAGS '-DVL_DEBUG -ggdb' --exe --vpi --no-l2name $Self->{t_dir}/t_vpi_unimpl.cpp"],
|
||||
verilator_flags2 => ["--exe --vpi --no-l2name $Self->{t_dir}/t_vpi_unimpl.cpp"],
|
||||
);
|
||||
|
||||
execute(
|
||||
|
@ -17,7 +17,7 @@ compile(
|
||||
sim_time => 2100,
|
||||
iv_flags2 => ["-g2005-sv -D USE_VPI_NOT_DPI -DWAVES"],
|
||||
v_flags2 => ["+define+USE_VPI_NOT_DPI"],
|
||||
verilator_flags2 => ["-CFLAGS '-DVL_DEBUG -ggdb' --exe --vpi --no-l2name $Self->{t_dir}/t_vpi_var.cpp"],
|
||||
verilator_flags2 => ["--exe --vpi --no-l2name $Self->{t_dir}/t_vpi_var.cpp"],
|
||||
);
|
||||
|
||||
execute(
|
||||
|
@ -16,7 +16,7 @@ compile(
|
||||
sim_time => 2100,
|
||||
iv_flags2 => ["-g2005-sv -D USE_VPI_NOT_DPI -DWAVES -DIVERILOG"],
|
||||
v_flags2 => ["+define+USE_VPI_NOT_DPI"],
|
||||
verilator_flags2 => ["-CFLAGS '-DVL_DEBUG -ggdb' --exe --vpi --no-l2name $Self->{t_dir}/t_vpi_zero_time_cb.cpp -LDFLAGS '-ldl -rdynamic'"],
|
||||
verilator_flags2 => ["--exe --vpi --no-l2name $Self->{t_dir}/t_vpi_zero_time_cb.cpp -LDFLAGS '-ldl -rdynamic'"],
|
||||
);
|
||||
|
||||
execute(
|
||||
|
Loading…
Reference in New Issue
Block a user