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
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
If we don't build B, we should skip all its tests.
[perl5.git]
/
ext
/
B
/
t
/
optree_concise.t
diff --git
a/ext/B/t/optree_concise.t
b/ext/B/t/optree_concise.t
index
dd6593b
..
b274409
100644
(file)
--- a/
ext/B/t/optree_concise.t
+++ b/
ext/B/t/optree_concise.t
@@
-3,6
+3,11
@@
BEGIN {
chdir 't';
@INC = ('../lib', '../ext/B/t');
+ require Config;
+ if (($Config::Config{'extensions'} !~ /\bB\b/) ){
+ print "1..0 # Skip -- Perl configured without B module\n";
+ exit 0;
+ }
require './test.pl';
}