• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
SenTestingKit fails when using CG-Only
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SenTestingKit fails when using CG-Only


  • Subject: SenTestingKit fails when using CG-Only
  • From: email@hidden
  • Date: Sat, 10 Nov 2007 02:07:45 +0900

Hi,

I recently tried to get my test rig up and running in leopard, and my framework has been using GC only for a while now.
Setting up a custom executable to call otest on my test bundle, causese the following error:


2007-11-10 01:54:43.694 otest[26142:813] Error loading /Volumes/Builds/ Debug/MyApplicationKitUnitTest.octest/Contents/MacOS/ MyApplicationKitUnitTest: dlopen(/Volumes/Builds/Debug/ MyApplicationKitUnitTest.octest/Contents/MacOS/ MyApplicationKitUnitTest, 265): no suitable image found. Did find:
/Volumes/Builds/Debug/MyApplicationKitUnitTest.octest/Contents/MacOS/ MyApplicationKitUnitTest: GC capability mismatch
2007-11-10 01:54:43.768 otest[26145:203] *** NSTask: Task create for path '/Volumes/Builds/Debug/MyApplicationKitUnitTest.octest/Contents/ MacOS/MyApplicationKitUnitTest' failed: 8, "Exec format error". Terminating temporary process.
2007-11-10 01:54:43.860 otest[26145:203] Usage: otest [-SenTest Self | All | None | <TestCaseClassName/testMethodName>] <path of unit to be tested>
2007-11-10 01:54:43.860 otest[26145:203] *** -[NSConcreteTask terminationStatus]: task not launched



When I compile the framework test unit to use -fobjc instead of -fobj- c-only testing works as normal.......


Is this known, and if so, is there a workaround? If I have an app, and want to test a critical section, that uses only GC.... how can I accomplish that if SenTestingKit is gonna barf every time I throw GC- Only objects at it?

Any help would be appreciated

Andre

_______________________________________________

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


  • Follow-Ups:
    • Re: SenTestingKit fails when using CG-Only
      • From: Chris Hanson <email@hidden>
  • Prev by Date: Re: A coding pattern that does not work under Garbage Collection
  • Next by Date: Re: A coding pattern that does not work under Garbage Collection
  • Previous by thread: NSCollectionView under the hood?
  • Next by thread: Re: SenTestingKit fails when using CG-Only
  • Index(es):
    • Date
    • Thread