Re: SenTestingKit/Xcode 3.1 error
Re: SenTestingKit/Xcode 3.1 error
- Subject: Re: SenTestingKit/Xcode 3.1 error
- From: David Bainbridge <email@hidden>
- Date: Fri, 11 Jul 2008 22:15:00 -0500
This is not the case. The other error was the failure for the PPC
build. Reviewing your excellent instructions on your site I realized
that I did not set the Bundle Loader property or the Test Host
property in the Unit Test Bundle target. My Bundle loader property is
specified now as $(BUILT_PRODUCTS_DIR)/TestUnit.app/Contents/MacOS/
TestUnit and Test Host is set to $(BUNDLE_LOADER) now.
Even after these changes, building the Unit Test Bundle target results
in:
/Developer/Tools/RunPlatformUnitTests.include:233: note: Started tests
for architectures 'i386'
/Developer/Tools/RunPlatformUnitTests.include:240: note: Running tests
for architecture 'i386' (GC OFF)
objc[1229]: GC: forcing GC OFF because OBJC_DISABLE_GC is set
/Developer/Tools/RunPlatformUnitTests.include:301: error: Failed tests
for architecture 'i386' (GC OFF)
/Developer/Tools/RunPlatformUnitTests.include:310: note: Completed
tests for architectures 'i386'
As is indicated above the single error in Xcode for the failed test
case points to the shell script again.
If I correct single test case which I know fails so that it will not
fail the Unit Test Bundle build builds without error so I know it is
exercising the test case.
On Jul 11, 2008, at 8:59 PM, Chris Hanson wrote:
On Jul 11, 2008, at 6:50 PM, David Bainbridge wrote:
I am attempting to use SenTestingKit with Xcode 3.1 and when I
build the Unit Test Bundle target I correctly get errors for the
failed tests but instead of the Xcode errors pointing to the source
file lines with the failed test cases it instead points to line
#384 of the file RunPlatformUnitTests.include with an error
description of "error: Failed tests for architecture 'i386' (GC OFF)"
That should be the *second* error you get. The first should be an
error pointing to the failing test.
-- Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden