From fe02d95d4510ca2d566e7193a591da6bc5988659 Mon Sep 17 00:00:00 2001 From: "G-A. Kamendje" Date: Tue, 23 Jan 2024 20:29:20 -0500 Subject: [PATCH] Modified driver to skip coverage when not using coroutines --- test_regress/t/t_cover_else_points.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_regress/t/t_cover_else_points.pl b/test_regress/t/t_cover_else_points.pl index bb0ad26a6..e5d3e9842 100755 --- a/test_regress/t/t_cover_else_points.pl +++ b/test_regress/t/t_cover_else_points.pl @@ -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});