unit testing of GC-required frameworks (was Re: Garbage Collection Caveats)
unit testing of GC-required frameworks (was Re: Garbage Collection Caveats)
- Subject: unit testing of GC-required frameworks (was Re: Garbage Collection Caveats)
- From: Chris Hanson <email@hidden>
- Date: Sun, 18 Nov 2007 10:26:42 -0800
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
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden