develooper Front page | perl.perl5.porters | Postings from October 2003

Re: require patch breaks locale

Thread Previous | Thread Next
From:
Rick Delaney
Date:
October 8, 2003 19:42
Subject:
Re: require patch breaks locale
Message ID:
20031008224155.A14638@biff.bort.ca
On Wed, Oct 08, 2003 at 10:31:01AM +0530, Abhijit Menon-Sen wrote:
> At 2003-10-07 12:51:51 +0200, h.m.brand@hccnet.nl wrote:
> >
> > linux       [locale:en_US]-DDEBUGGING -Accflags='-DPERL_COPY_ON_WRITE'
> >     ../lib/locale.t.........................FAILED 99-117
> >     ../t/comp/require.t.....................FAILED 28-41
> 
> I can't reproduce these failures. Could someone else please investigate?

I can't reproduce them either but try the following for require.t since
I overlooked that.  Is there any advantage to making these "skip tests"?

I looked at locale.t and it similarly bails after test 98 if $have_setlocale 
is false but I can't see any connection to the require patch.  It would
be nice to see the output of the test itself.

-- 
Rick Delaney
rick@bort.ca

--- t/comp/require.t.orig	Wed Oct  8 22:01:13 2003
+++ t/comp/require.t	Wed Oct  8 22:26:21 2003
@@ -12,7 +12,7 @@
 my $Is_EBCDIC = (ord('A') == 193) ? 1 : 0;
 my $Is_UTF8   = (${^OPEN} || "") =~ /:utf8/;
 my $total_tests = 44;
-if ($Is_EBCDIC || $Is_UTF8) { $total_tests = 27; }
+if ($Is_EBCDIC || $Is_UTF8) { $total_tests = 41; }
 print "1..$total_tests\n";
 
 sub do_require {

Thread Previous | 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