X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F20-good.t;h=059785e7e8045ac265274b57d568532e99dacc5c;hb=2531f38c39b06d629f290eca22f08f39d7d32d06;hp=d13977d91f3886eb25f9295932b942a6d86d7399;hpb=8d66aa098b18f8c9724b12bf446d330905122c57;p=perl%2Fmodules%2FTest-Valgrind.git diff --git a/t/20-good.t b/t/20-good.t index d13977d..059785e 100644 --- a/t/20-good.t +++ b/t/20-good.t @@ -6,6 +6,10 @@ use warnings; use Test::More; use lib qw{blib/archpub}; eval 'use Test::Valgrind'; -plan skip_all => 'Test::Valgrind is required to run test your distribution with valgrind' if $@; +if ($@) { + diag $@; + plan skip_all => 'Test::Valgrind is required to run test your distribution with valgrind'; +} -1; +plan tests => 1; +fail('bogus failure, don\'t worry');