Modified driver to skip coverage when not using coroutines

This commit is contained in:
G-A. Kamendje 2024-01-23 20:29:20 -05:00
parent 30eb11ff5c
commit fe02d95d45

View File

@ -8,7 +8,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
# Version 2.0.
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
scenarios(simulator => 1);
scenarios(vlt => 1);
compile(
verilator_flags2 => [ "--binary --coverage --timing -Wall" ],
@ -28,7 +28,7 @@ run(cmd => ["../bin/verilator_coverage",
"$Self->{obj_dir}/coverage.dat",
],
verilator_run => 1,
);
) if !$self->errors && !$self->skips;
files_identical("$Self->{obj_dir}/annotated/t_cover_else_points.v", $Self->{golden_filename});