min_version => $tool->requires_version,
) };
-if ($@) {
- plan skip_all => $@;
+if (my $err = $@) {
+ $err =~ s/^(Empty valgrind candidates list|No appropriate valgrind executable could be found)\s+at.*/$1/;
+ plan skip_all => $err;
} else {
plan tests => 4;
}