discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: test logs... linux intel 64bit


From: Richard Frith-Macdonald
Subject: Re: test logs... linux intel 64bit
Date: Fri, 25 Feb 2011 06:28:28 +0000

On 25 Feb 2011, at 01:17, Stefan Bidi wrote:

> Thanks Riccardo.  It seems that the time zone standards got updated with icu 
> 4.6 so these tests now fail (I have 4.4 on my system).  The number formatter 
> tests are actually wrong. The first test opens a 
> NSNumberFormatterCurrencyStyle style formatter but the check is for a 
> NSNumberFormatterNoStyle style.  The second is also wrong.  It seems the 
> order of the tests was changed when it got moved.
> 
> Can someone run these tests on OS X, please?  I expect them to fail there, as 
> well.

With the current tests in OSX 10.6 I gent:

$ gnustep-tests base/NSNumberFormatter
You forgot to set your GNUSTEP_MAKEFILES environment variable.
Setting it to /Library/GNUstep/Makefiles during this test run.
--- Running tests in base/NSNumberFormatter ---

base/NSNumberFormatter/basic.m:
Failed test:     basic.m:27 ... round up for fractional part >0.5
Failed test:     basic.m:32 ... round down for fractional part <0.5

 24 Passed tests
   2 Failed tests


And tests.log looks like this:

Testing basic.m...
Running base/NSNumberFormatter/basic.m...
Passed test:     basic.m:15 ... +[NSNumberFormatter alloc] returns a 
NSNumberFormatter
Passed test:     basic.m:22 ... default format same as Cocoa
Failed test:     basic.m:27 ... round up for fractional part >0.5
Expected '1,235' and got '1,234.57'
Failed test:     basic.m:32 ... round down for fractional part <0.5
Expected '1,234' and got '1,234.43'
Passed test:     basic.m:37 ... numeric and space padding OK
Passed test:     basic.m:45 ... prefix and suffix used properly
Passed test:     basic.m:50 ... negativeFormat used for -ve number
Passed test:     basic.m:54 ... notANumber special case
Passed test:     basic.m:59 ... format string of length 1
Completed file:  basic.m

Testing basic10_4.m...
Running base/NSNumberFormatter/basic10_4.m...
Start set:       basic10_4.m:17 ... NSNumberFormatter

Passed test:     basic10_4.m:21 ... default behavior is 
NSNumberFormatterBehavior10_4
Passed test:     basic10_4.m:27 ... default behavior can be changed to 
NSNumberFormatterBehavior10_0
Passed test:     basic10_4.m:33 ... NSNumberFormatterBehaviorDefault gives 
NSNumberFormatterBehavior10_4
Passed test:     basic10_4.m:39 ... unknown behavior is accepted
Passed test:     basic10_4.m:45 ... default behavior can be changed to 
NSNumberFormatterBehavior10_4
Passed test:     basic10_4.m:51 ... a new formatter gets the current default 
behavior
Passed test:     basic10_4.m:54 ... a new formatter can have the default 
behavior set
Passed test:     basic10_4.m:57 ... notANumber special case
Passed test:     basic10_4.m:62 ... getObjectValue:forString:errorDescription: 
runs
Passed test:     basic10_4.m:64 ... getObjectValue inited with 0.00
Start set:       basic10_4.m:66 ... NSLocale

Passed test:     basic10_4.m:73 ... default 10.4 format same as Cocoa
Passed test:     basic10_4.m:80 ... round up for fractional part >0.5
Passed test:     basic10_4.m:85 ... round down for fractional part <0.5
Passed test:     basic10_4.m:95 ... numeric and space padding OK
Passed test:     basic10_4.m:103 ... prefix and suffix used properly
Passed test:     basic10_4.m:108 ... negativeFormat used for -ve number
Passed test:     basic10_4.m:114 ... format string of length 1
End set:       basic10_4.m:116 ... NSLocale
End set:       basic10_4.m:118 ... NSNumberFormatter
Completed file:  basic10_4.m




reply via email to

[Prev in Thread] Current Thread [Next in Thread]