X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F12-good-run-exception.t;fp=t%2F12-good-run-exception.t;h=22e6d0122a98fc4e205e52d729cf598ace843163;hb=acdd3b78b5efedcd0b980acb20e3137354325325;hp=0000000000000000000000000000000000000000;hpb=0c5d8f138c37804f0587deba3db2a1ce8ee674b2;p=perl%2Fmodules%2FTest-Valgrind.git diff --git a/t/12-good-run-exception.t b/t/12-good-run-exception.t new file mode 100644 index 0000000..22e6d01 --- /dev/null +++ b/t/12-good-run-exception.t @@ -0,0 +1,20 @@ +#!perl + +use strict; +use warnings; + +use Test::More; + +use lib 't/lib'; + +eval { + require Test::Valgrind; + Test::Valgrind->import(diag => 1); +}; +if ($@) { + diag $@; + plan skip_all + => 'Test::Valgrind is required to test your distribution with valgrind'; +} + +die 'dummy run-time exception, should not cause the test to fail';