mirror of
https://github.com/verilator/verilator.git
synced 2025-01-19 12:54:02 +00:00
Modified driver to skip coverage when not using coroutines
This commit is contained in:
parent
30eb11ff5c
commit
fe02d95d45
@ -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});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user