projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
43bd726
)
Skip test when Encode isn't built
Rafael Garcia-Suarez [Tue, 20 Feb 2007 10:44:44 +0000 (10:44 +0000)]
(noticed by Jerry D. Hedden)
p4raw-id: //depot/perl@30370
ext/PerlIO/encoding/t/nolooping.t
patch
|
blob
|
blame
|
history
diff --git
a/ext/PerlIO/encoding/t/nolooping.t
b/ext/PerlIO/encoding/t/nolooping.t
index
f3436ad
..
846a248
100644
(file)
--- a/
ext/PerlIO/encoding/t/nolooping.t
+++ b/
ext/PerlIO/encoding/t/nolooping.t
@@
-1,5
+1,13
@@
#!perl -w
+BEGIN {
+ use Config;
+ if ($Config{extensions} !~ /\bEncode\b/) {
+ print "1..0 # Skip: no Encode\n";
+ exit 0;
+ }
+}
+
use Test::More tests => 1;
BEGIN {