This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2628e9c
)
Skip test if Devel::PPPort not built
author
Nicholas Clark
<nick@ccl4.org>
Fri, 18 Jun 2004 13:09:24 +0000
(13:09 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Fri, 18 Jun 2004 13:09:24 +0000
(13:09 +0000)
p4raw-id: //depot/perl@22953
ext/Devel/PPPort/t/test.t
patch
|
blob
|
blame
|
history
diff --git
a/ext/Devel/PPPort/t/test.t
b/ext/Devel/PPPort/t/test.t
index
de9cc88
..
469bd87
100644
(file)
--- 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;