Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Ghunit command build error
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Reg  
View profile  
 More options Aug 8 2012, 10:03 am
From: Reg <regrec...@gmail.com>
Date: Wed, 8 Aug 2012 07:03:57 -0700 (PDT)
Local: Wed, Aug 8 2012 10:03 am
Subject: Ghunit command build error

Hi guys
     I added the ghunit command build to my project according to this
document.<http://gabriel.github.com/gh-unit/docs/appledoc_include/guide_command...>
in Xcode 4.4 and Mac os: Mountain lion

But it failed at "make test",

2012-08-08 21:41:38.969 AnalyticsTests[1093:707] Warning: CFFIXED_USER_HOME
is not set!  It should be set to the simulated home directory.
RunTests.sh: line 49:  1093 Trace/BPT trap: 5      
"/Users/reg/Codes/P4WorkSpace/RegMac/depot/cto-office/analytics/client/Engi ne/IOS/dev/Analytics/build/Debug-iphonesimulator/AnalyticsTests.app/Analyti csTests"
-RegisterForSystemEvents
Command /bin/sh failed with exit code 133

and I have no idea about this, I search this error. And my main.m use the
UIApplicationMain(argc, argv, nil, @"GHUnitIOSAppDelegate");
Could you help me ?
Thanks
Reg


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joshua Moody  
View profile  
 More options Aug 15 2012, 8:14 am
From: Joshua Moody <joshuajmo...@gmail.com>
Date: Wed, 15 Aug 2012 05:14:27 -0700 (PDT)
Local: Wed, Aug 15 2012 8:14 am
Subject: Re: Ghunit command build error

Hey Reg,

I am having some problems (possibly related) with the current version of
the Scripts/RunTests.sh.

When make test is executed, that script is run (see GHUnit Test target >
Build Phases > Run Script build phase)

If you have a look at the script you can see CFFIXED_USER_HOME in a couple
of places.

i was having problems with this new RunTests.sh script on my Jenkins CI
server (https://groups.google.com/d/msg/ghunit/3FUVnliSwq0/uuIPSbvOcKwJ).

as for your problem, i am seeing this as well.  reverting to an older
RunTests.sh is not working.  Nor is trying to set the CFFIXED_USER_HOME in
the script (see the commented out lines near the top of the file).

if i do either of the above, i am seeing:  

../Scripts/RunTests.sh: line 49: 98510 Bus error: 10

so the make test is broken as far as i can tell.

the good news is that the framework is working.

one of us should problem make an issue.

jjm


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joshua Moody  
View profile  
 More options Aug 15 2012, 8:26 am
From: Joshua Moody <joshuajmo...@gmail.com>
Date: Wed, 15 Aug 2012 05:26:19 -0700 (PDT)
Local: Wed, Aug 15 2012 8:26 am
Subject: Re: Ghunit command build error

UPDATE

for better or worse, i am in the middle of reviewing some memory leaks that
i have found in GHTesting.  the bus error, i reported above was caused by a
change that i made.  i can now run make test.

   - in Scripts/RunTests.sh - uncomment lines 11 - 16

that should do it.

you can also revert to an older version of RunTests.sh that does not
include the securityd/GTM stuff.  

sorry about the confusion.

jjm


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Xingchi Wang  
View profile  
 More options Aug 15 2012, 10:01 pm
From: Xingchi Wang <regrec...@gmail.com>
Date: Thu, 16 Aug 2012 10:01:09 +0800
Local: Wed, Aug 15 2012 10:01 pm
Subject: Re: Ghunit command build error

Thanks for your advice,
It(uncomment lines 11-16) works to me, And I used the CFFIXED_USER_HOME
variable which in the Apple OCUnit shell scripts(
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platfo rm/Developer/Tools/RunPlatformUnitTests
)
It seems successful.

Best regards
Reg

2012/8/15 Joshua Moody <joshuajmo...@gmail.com>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »