diff options
author | Nicholas Clark <nick@ccl4.org> | 2004-06-18 13:09:24 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2004-06-18 13:09:24 +0000 |
commit | 2d423903636554795b22a7b943522322f8675856 (patch) | |
tree | 2ecb20baa14901d3c270256af252f7c5ed311cf0 /ext/Devel | |
parent | 2628e9cec79137941c405ec5dcd495a6d17881c2 (diff) | |
download | perl-2d423903636554795b22a7b943522322f8675856.tar.gz |
Skip test if Devel::PPPort not built
p4raw-id: //depot/perl@22953
Diffstat (limited to 'ext/Devel')
-rw-r--r-- | ext/Devel/PPPort/t/test.t | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/Devel/PPPort/t/test.t b/ext/Devel/PPPort/t/test.t index de9cc88069..469bd87a69 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; |