Hi,

I'm the developer of a GUI for OCUnit called OCRunner. I'm having an issue with loading test bundles that use GC into the app. It brings up the following error:

18/07/2009 2:37:05 pm OCRunnerTool[9566] Error loading /Test/Binary/ Path: dlopen(/Test/Binary/Path, 265): no suitable image found. Did find:
/Test/Binary/Path: GC capability mismatch

This appears for both my foundation tool which runs the test (OCRunnerTool) and the GUI app that displays the results (OCRunner). Both these run fine except they show no tests run, probably due to the bundle simply not being loaded. At first I thought the problem was that GC was set as unsupported on both of these targets but setting it to either supported or required brings up the same issue. I've looked around but the only thing I've found relating to OCUnit and GC is something about framework tests running with GC required not being supported in Xcode 3.0. The tests run fine using the default run tool included with the dev tools.

The project is open source and the source can be found at: http://bazaar.launchpad.net/~pilky/ocrunner/dev/files . Hopefully a different pair of eyes (possibly one with more experience with unit testing with GC) might be able to see something I'm missing. The code that deals with running tests is /OCRunnerTool and AppDelegate.m:102-166.

Thanks

---------------------------------
Martin Pilkington
Writer of Weird Symbols
pi...@mcubedsw.com
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to