From 763a0d2122c8fd573fe9eed4086d4716ae928428 Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Tue, 22 Jun 2004 09:56:34 +0000 Subject: [PATCH] Skip test if Devel::PPPort is not built. Probably should fix h2xs to work without it. p4raw-id: //depot/perl@22965 --- lib/h2xs.t | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/h2xs.t b/lib/h2xs.t index 09644af..5485323 100644 --- a/lib/h2xs.t +++ b/lib/h2xs.t @@ -12,6 +12,12 @@ BEGIN { chdir 't' if -d 't'; @INC = '../lib'; + # FIXME (or rather FIXh2xs) + require Config; + if (($Config::Config{'extensions'} !~ /\bDevel::PPPort\b/) ){ + print "1..0 # Skip -- Perl configured without Devel::PPPort module\n"; + exit 0; + } } # use strict; # we are not really testing this -- 2.7.4