discuss-gnustep
[Top][All Lists]
Advanced

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

Re: gnustep-base tests


From: Eric Heintzmann
Subject: Re: gnustep-base tests
Date: Mon, 9 May 2016 22:28:54 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.7.2



Le 09/05/2016 21:46, Eric Heintzmann a écrit :

Building in base/NSInvocationOperation
Making all for test_tool basic...
  Compiling file basic.m ...
  Linking test_tool basic ...

Testing basic.m...
Running base/NSInvocationOperation/basic.m...
Passed test:     basic.m:26 ... Can invoke a selector on a target
Passed test:     basic.m:35 ... Can recover an operation's invocation
Passed test:     basic.m:39 ... Can schedule an NSInvocation
Passed test:     basic.m:48 ... Can't get result of a void invocation
Passed test: basic.m:58 ... Can't get the result of a cancelled invocation Passed test: basic.m:64 ... Result is nil before the invocation has completed
/usr/bin/gnustep-tests: line 309: 20007 Aborted $RUN_CMD
Failed file:     basic.m aborted without running all tests!
IN Tests/base/NSInvocationOperation/basic.m :

PASS(([op result] == nil), "Result is nil before the invocation has completed");
  [op release];

  [queue release];
  [arp release]; arp = nil;
  return 0;

Is there a releasing problem ?
There is also:

2016-05-09 22:11:59.477 basic[12871:12871] op released
2016-05-09 22:11:59.477 basic[12871:12871] queue released
2016-05-09 22:11:59.477 basic[12871:12871] autorelease called without pool for object (0x114fa70) of class NSCalendarDate in thread <NSThread: 0x1044720>{name = (null), num = 12871} 2016-05-09 22:11:59.477 basic[12871:12871] autorelease called without pool for object (0x1158e50) of class GSDictionary in thread <NSThread: 0x1044720>{name = (null), num = 12871} 2016-05-09 22:11:59.477 basic[12871:12871] autorelease called without pool for object (0x1163240) of class GSTimeZone in thread <NSThread: 0x1044720>{name = (null), num = 12871} 2016-05-09 22:11:59.477 basic[12871:12871] autorelease called without pool for object (0x113c860) of class GSCInlineString in thread <NSThread: 0x1044720>{name = (null), num = 12871} 2016-05-09 22:11:59.477 basic[12871:12871] autorelease called without pool for object (0x1134380) of class NSDataMalloc in thread <NSThread: 0x1044720>{name = (null), num = 12871}
2016-05-09 22:11:59.477 basic[12871:12871] arp released
2016-05-09 22:11:59.477 basic[12871:12871] autorelease called without pool for object (0x11482c0) of class NSCalendarDate in thread <NSThread: 0x1044720>{name = (null), num = 12871} 2016-05-09 22:11:59.477 basic[12871:12871] autorelease called without pool for object (0x1158e50) of class GSDictionary in thread <NSThread: 0x1044720>{name = (null), num = 12871} 2016-05-09 22:11:59.477 basic[12871:12871] autorelease called without pool for object (0x1163240) of class GSTimeZone in thread <NSThread: 0x1044720>{name = (null), num = 12871} 2016-05-09 22:11:59.477 basic[12871:12871] autorelease called without pool for object (0x1150fb0) of class GSCInlineString in thread <NSThread: 0x1044720>{name = (null), num = 12871} 2016-05-09 22:11:59.477 basic[12871:12871] autorelease called without pool for object (0x1152fd0) of class NSDataMalloc in thread <NSThread: 0x1044720>{name = (null), num = 12871}
/usr/bin/gnustep-tests: line 309: 12871 Aborted $RUN_CMD
Failed file:     basic.m aborted without running all tests!


Building in base/NSNumberFormatter
Making all for test_tool basic...
Making all for test_tool basic10_4...
  Compiling file basic.m ...
  Compiling file basic10_4.m ...
  Linking test_tool basic ...
  Linking test_tool basic10_4 ...
[...]
Testing basic10_4.m...
[...]
Failed test: basic10_4.m:149 ... negativeFormat used for -ve number

in Tests/base/NSNumberFormatter/basic10_4.m :

num = [[[NSNumber alloc] initWithFloat: -1234.56] autorelease];
      PASS_EQUAL([fmt stringFromNumber: num], @"(R$1.235)",
        "negativeFormat used for -ve number");

There is also:

 Passed test:         basic10_4.m:145 ... prefix and suffix used properly
Failed test:         basic10_4.m:149 ... negativeFormat used for -ve number
Expected '(R$1.235)' and got '_R$1.235'




reply via email to

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