diff options
author | Nicholas Clark <nick@ccl4.org> | 2004-06-22 09:56:34 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2004-06-22 09:56:34 +0000 |
commit | 763a0d2122c8fd573fe9eed4086d4716ae928428 (patch) | |
tree | 0b41c03622c93d54ee4151989163ffb249c0ce07 | |
parent | 8fcd89ecada0e6697e7afc9f417751d97c9e70dc (diff) | |
download | perl-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.t | 6 |
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 |