Skip navigation.
 
mlunit testing of GC-required frameworks (was Re: Garbage Collection Caveats)
FROM : Chris Hanson
DATE : Sun Nov 18 19:26:42 2007

On Nov 17, 2007, at 11:45 PM, Jacob Portukalian wrote:

> When I use the Garbage Collection Required option my script fails 
> with the following message:
>
>
> Test rig '/Developer/Tools/otest' exited abnormally with code 5 (it 
> may have crashed).


See this email thread from cocoa-dev a week ago:

  http://lists.apple.com/archives/Cocoa-dev/2007/Nov/msg00851.html

That thread explains what's going on and how to address it.  The short 
version: In Xcode 3.0, SenTestingKit.framework is built GC-supported 
but otest is not, so you can't use the stock version to test a GC-
required framework.  You have to either make your framework GC-
supported and test it without GC, or build your own otest that is GC-
supported to test it with GC.

  -- Chris

Related mailsAuthorDate
mlRe: Garbage Collection Caveats Jacob Portukalian Nov 18, 08:45
mlunit testing of GC-required frameworks (was Re: Garbage Collection Caveats) Chris Hanson Nov 18, 19:26