'function' => \&digest_cache_structure,
'fatal' => $NO
},
-
- {
- 'category' => 'profile coverage',
- 'detail' => 'gcov profile coverage',
- 'err_msg' => 'profile coverage failed',
- 'function' => \&profile_coverage,
- 'fatal' => $NO
- },
);
my %test_keys = (
}
}
+if ($enable_profile_coverage_check) {
+ &run_test(
+ {
+ 'category' => 'profile coverage',
+ 'detail' => 'gcov profile coverage',
+ 'err_msg' => 'profile coverage failed',
+ 'function' => \&profile_coverage,
+ 'fatal' => $NO
+ },
+ );
+}
+
if ($use_valgrind) {
&run_test(
{
if (@tests_to_include) {
my $found = 0;
for my $test (@tests_to_include) {
- if ($msg =~ $test or ($use_valgrind
- and $msg =~ /valgrind\soutput/)) {
+ if ($msg =~ $test
+ or ($use_valgrind and $msg =~ /valgrind\soutput/)
+ or ($enable_profile_coverage_check and $msg =~ /profile\scoverage/)
+ ) {
$found = 1;
last;
}
push @tests_to_exclude, qr/distcheck/;
}
- unless ($enable_profile_coverage_check) {
- push @tests_to_exclude, qr/profile coverage/;
- }
-
unless ($enable_client_ip_resolve_test) {
push @tests_to_exclude, qr/IP resolve/;
}