From 2d423903636554795b22a7b943522322f8675856 Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Fri, 18 Jun 2004 13:09:24 +0000 Subject: [PATCH] Skip test if Devel::PPPort not built p4raw-id: //depot/perl@22953 --- ext/Devel/PPPort/t/test.t | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ext/Devel/PPPort/t/test.t b/ext/Devel/PPPort/t/test.t index de9cc88..469bd87 100644 --- a/ext/Devel/PPPort/t/test.t +++ b/ext/Devel/PPPort/t/test.t @@ -1,6 +1,11 @@ BEGIN { chdir 't' if -d 't'; @INC = '../lib' if -d '../lib'; + require Config; + if (($Config::Config{'extensions'} !~ /\bDevel::PPPort\b/) ){ + print "1..0 # Skip -- Perl configured without Devel::PPPort module\n"; + exit 0; + } } use Devel::PPPort; -- 2.7.4