X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F20-good.t;h=4c31222b06767d8a8a91cd726a378beaab174002;hb=a7322910d865380e6ca34f5d7d93942e384e7734;hp=781bf385df45e51280821c700820c92e31fbcbf1;hpb=41a4b907f4846f2d35b170f517fb83ceb13f298c;p=perl%2Fmodules%2FTest-Valgrind.git diff --git a/t/20-good.t b/t/20-good.t index 781bf38..4c31222 100644 --- a/t/20-good.t +++ b/t/20-good.t @@ -4,7 +4,12 @@ use strict; use warnings; use Test::More; -eval 'use Test::Valgrind'; # diag => 1'; -plan skip_all => 'Test::Valgrind is required to run test your distribution with valgrind' if $@; +use lib qw{blib/archpub}; +eval 'use Test::Valgrind'; +if ($@) { + diag $@; + plan skip_all => 'Test::Valgrind is required to run test your distribution with valgrind'; +} -1; +plan tests => 1; +fail('shouldn\'t see this');