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:
6f8e50f
)
Skip a Data::Dumper test if configured without B module.
author
Marcus Holland-Moritz
<mhx-perl@gmx.net>
Mon, 30 Aug 2004 18:33:27 +0000
(18:33 +0000)
committer
Marcus Holland-Moritz
<mhx-perl@gmx.net>
Mon, 30 Aug 2004 18:33:27 +0000
(18:33 +0000)
p4raw-id: //depot/perl@23244
ext/Data/Dumper/t/dumper.t
patch
|
blob
|
blame
|
history
diff --git
a/ext/Data/Dumper/t/dumper.t
b/ext/Data/Dumper/t/dumper.t
index
340a539
..
35b97b2
100755
(executable)
--- a/
ext/Data/Dumper/t/dumper.t
+++ b/
ext/Data/Dumper/t/dumper.t
@@
-965,7
+965,11
@@
TEST q(Data::Dumper->new([[$c, $d]])->Dumpxs;)
# };
EOT
- TEST q(Data::Dumper->new([{ foo => sub { print "foo"; } }])->Dump);
+ if(" $Config{'extensions'} " !~ m[ B ]) {
+ SKIP_TEST "Perl configured without B module";
+ } else {
+ TEST q(Data::Dumper->new([{ foo => sub { print "foo"; } }])->Dump);
+ }
}
############# 214