develooper Front page | perl.perl5.porters | Postings from November 2004

utf-8 smoke noise from ext/B/t/xref.t

Thread Next
From:
Jarkko Hietaniemi
Date:
November 30, 2004 22:04
Subject:
utf-8 smoke noise from ext/B/t/xref.t
Message ID:
41AD5ED8.3060402@iki.fi
I re-setup Perl smokes in a Tru64 box after some bit rot had disabled
my old smoke setup.  Otherwise smoking along nicely, but under a UTF-8
locale there is some test noise that doesn't seem to affect success.

From 5.8's most recent smokecurrent.log:

TSTENV = locale:fi_FI.UTF-8     utf8 "\x90" does not map to Unicode at
../ext/B/t/xref.t line 205, <XREF> line 1061.
utf8 "\xB0" does not map to Unicode at ../ext/B/t/xref.t line 205,
<XREF> line 1074.
All tests successful.
u=8.30  s=5.87  cu=706.32  cs=103.33  scripts=875  tests=88542

The curious part is that if the test is run manually, no noise:

.../t ; env PERL_CORE=1 LC_ALL=fi_FI.UTF-8 ./perl -I../lib ../ext/B/t/xref.t
1..14
ok 1 - use B::Xref;
ok 2 - compile() returns a coderef (CODE(0x1402f09e0))
ok 3 - $compilesub present in main program
ok 4 - $compilesub introduced at line 100
ok 5 - $compilesub coderef called at line 102
ok 6 - $curfile present in main program
ok 7 - $curfile introduced at line 200
ok 8 - $xreftable present in main program
ok 9 - $xreftable used in subroutine bar
ok 10 - use_ok called at line 50
ok 11 - subroutine foo defined at line 1001
ok 12 - subroutine bar defined at line 1002
ok 13 - subroutine foo called at line 1002 by bar
ok 14 - glob FOO used in subroutine foo

-- 
Jarkko Hietaniemi <jhi@iki.fi> http://www.iki.fi/jhi/ "There is this special
biologist word we use for 'stable'.  It is 'dead'." -- Jack Cohen

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About