FAQ
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 [email protected] 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.

Search Discussions

  • Ed Allen Smith at Jun 11, 2004 at 2:56 pm
    In message (on 11 June 2004 12:12:05 +0200),
    [email protected] (Marcus Holland-Moritz) wrote:
    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. ;-)
    It's my preferred configuration also. If building Encode, I generally find
    that I have to interrupt runs - so other work can get done - before they get
    anywhere near completion.
    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?
    This would encourage me to update our testing setup!

    -Allen

    --
    Allen Smith http://cesario.rutgers.edu/easmith/
    February 1, 2003 Space Shuttle Columbia
    Ad Astra Per Aspera To The Stars Through Asperity

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupperl5-porters @
categoriesperl
postedJun 11, '04 at 10:12a
activeJun 11, '04 at 2:56p
posts2
users2
websiteperl.org

People

Translate

site design / logo © 2023 Grokbase