Re: Cryptical error in unit test script
Re: Cryptical error in unit test script
- Subject: Re: Cryptical error in unit test script
- From: Issac Trotts <email@hidden>
- Date: Tue, 21 Apr 2009 00:05:04 -0700
Hi Jeremy, thanks for your reply. Here is the result:
$ source /Developer/Tools/RunPlatformUnitTests.include
/Tools/RunPlatformUnitTests.include:57: error: No PRODUCT_NAME specified, please set it to the name of your unit test bundle with no extension.
[Process completed]
At the top of the calling script, RunPlatformUnitTests, there is #!/bin/sh. The same is at the top of RunPlatformUnitTests.include. I don't know how else to determine if the script is running the in the correct shell.
Issac
On Mon, Apr 20, 2009 at 8:10 AM, Jeremy W. Sherman
<email@hidden> wrote:
Try sourcing the include file from a bash shell in Terminal.app. If that works, then double-check that the shell script in Xcode is running in the correct shell.
—Jeremy
On Mon, Apr 20, 2009 at 5:21 AM, Issac Trotts
<email@hidden> wrote:
Here's some more info that might be relevant. The same problem now comes up in the most recent revision of my project, which passed its unit tests when I checked it in. The file /Developer/Tools/RunPlatformUnitTests.include exists and opens up just fine in a text editor, so that's not the problem.
I'll keep looking.
On Mon, Apr 20, 2009 at 2:06 AM, Issac Trotts
<email@hidden> wrote:
When I try to build and run my project's unit tests, the Build Results window shows
"""
Running custom shell script (1 error)
error: Could not source include file /Developer/Tools/RunPlatformUnitTests.include
"""
It was working just a few minutes ago, but I'm not sure which of my changes (if any) caused the problem. The error message doesn't help, so I'll have to figure out the cause by trial and error.
_______________________________________________
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
_______________________________________________
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