projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Skip tests that require Data::Dumper if it is not built
[p5sagit/p5-mst-13.2.git]
/
ext
/
B
/
t
/
optree_specials.t
diff --git
a/ext/B/t/optree_specials.t
b/ext/B/t/optree_specials.t
index
75d2a8a
..
b9eec16
100644
(file)
--- a/
ext/B/t/optree_specials.t
+++ b/
ext/B/t/optree_specials.t
@@
-8,6
+8,12
@@
BEGIN {
print "1..0 # Skip -- Perl configured without B module\n";
exit 0;
}
+ if ($Config{'extensions'} !~ /\bData\/Dumper\b/) {
+ print
+ "1..0 # Skip: Data::Dumper was not built, needed by OptreeCheck\n";
+ exit 0;
+
+ }
require './test.pl';
}