X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2Fh2xs.t;h=e6c75c091d618ffef3c210962b2cd9aa3bdd85fa;hb=98641f606c65e71cca89f9a694e2796b5a21cbd8;hp=2a5e14b66d53d52a9e0f08eed24d7c37c35b0049;hpb=4a6602376e46f7ce9ede73b10063d105a533f05a;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/h2xs.t b/lib/h2xs.t index 2a5e14b..e6c75c0 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'} !~ m!\bDevel/PPPort\b!) ){ + print "1..0 # Skip -- Perl configured without Devel::PPPort module\n"; + exit 0; + } } # use strict; # we are not really testing this @@ -117,7 +123,7 @@ Writing $name/Changes Writing $name/MANIFEST EONOXSFILES -"-f -n $name $header -b $thisversion", $], <<"EOXSFILES", +"-f -n $name -b $thisversion $header", $], <<"EOXSFILES", Writing $name/ppport.h Writing $name/lib/$name.pm Writing $name/$name.xs