develooper Front page | perl.perl5.porters | Postings from July 2001

funny numconvert test in perl@11006 (was Re: report on BS2000 with perl@11006)

From:
Dorner Thomas
Date:
July 9, 2001 05:28
Subject:
funny numconvert test in perl@11006 (was Re: report on BS2000 with perl@11006)
Message ID:
6727B1DACFCDD311A757009027CA8D690257A98B@Ex02.inhouse.start.de
Has anybody an idea why numconvert announces 1440 tests and finishs after
1408?  (see below)

Thomas
> ----------
> Von: 	Nicholas Clark[SMTP:nick@ccl4.org]
> Gesendet: 	Samstag, 7. Juli 2001 00:35
> An: 	Dorner Thomas
> Betreff: 	Re: report on BS2000 with perl@11006
> 
> On Fri, Jul 06, 2001 at 02:16:22PM +0200, Dorner Thomas wrote:
> > Hi,
> > 
> > lib/ExtUtils.t was mostly a space problem (disk full), now I only have
> one
> > nok for test 25 (before "#make = 'make clean'").
> > 
> > The differences between regen and expect are \177s instead of "s in the
> > assignments to *pv_return:
> 
> > -      *pv_return = \177not ok 7\n\0ok 7\n\177;
> > +      *pv_return = "not ok 7\n\0ok 7\n";
> 
> My stupid fault. \177 is DEL in ASCII, and I was trying to convert it to
> octal. I've got a better idea about how to improve the regexps at the
> top of ExtUtils::Constant.pm to fix this and work back to 5.005_03 (or
> earlier) and will attempt a patch tomorrow.
> 
> > op/numconvert is funny, it only runs 1408 tests and ends without a
> message:
> > # max_uv1 = 4294967295, max_uv2 = 4294967295, big_iv = -16
> > 1..1440
> > # -4294967296 -4294967295 -2147483648 -2147483647 -1212121212 -979797979
> -1
> > 0 1 979797979 1212121212 2147483647 2147483648 4294967295 4294967296
> > ok 1
> > [...]
> > ok 1408
> 
> Erk. I have no idea.Could you mail/forward to p5p in case someone else
> does?
> 
> Nicholas Clark
> 



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