-Dnoextensions=Encode causes comp/utf.t to fail
[email protected] (Marcus Holland-Moritz) Fri, 11 Jun 2004 12:12:05 +0200
| Newsgroups | perl.perl5.porters,perl.daily-build |
|---|---|
| Message-ID | <20040611121205.2f6bdebd@r2d2> |
Checking my log files, I just noticed that t/comp/utf.t was failing when
perl was configured with -Dnoextensions=Encode. I use this quite often
because I don't use Encode and it takes ages to build. ;-)
I've submitted the change below to skip the test in that configuration.
Nick, this should also go into 5.8.x.
Perhaps we could add various -Dnoextensions=... combinations to the
smokes?
Marcus
Change 22928 by mhx@mhx-r2d2 on 2004/06/11 09:37:42
t/comp/utf.t failed when configuring with -Dnoextensions=Encode
Affected files ...
... //depot/perl/t/comp/utf.t#4 edit
Differences ...
==== //depot/perl/t/comp/utf.t#4 (text) ====
@@ -11,6 +11,11 @@
print "1..0 # Skip: no dynamic loading on miniperl, no threads\n";
exit 0;
}
+ require Config; import Config;
+ if ($Config{'extensions'} !~ /\bEncode\b/) {
+ print "1..0 # Skip: Encode was not built\n";
+ exit 0;
+ }
}
require "./test.pl";
--
Harris's Lament:
All the good ones are taken.