summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2004-06-22 09:56:34 +0000
committerNicholas Clark <nick@ccl4.org>2004-06-22 09:56:34 +0000
commit763a0d2122c8fd573fe9eed4086d4716ae928428 (patch)
tree0b41c03622c93d54ee4151989163ffb249c0ce07
parent8fcd89ecada0e6697e7afc9f417751d97c9e70dc (diff)
downloadperl-763a0d2122c8fd573fe9eed4086d4716ae928428.tar.gz
Skip test if Devel::PPPort is not built.
Probably should fix h2xs to work without it. p4raw-id: //depot/perl@22965
-rw-r--r--lib/h2xs.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/h2xs.t b/lib/h2xs.t
index 09644af846..5485323f3d 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