Saturday, September 29, 2012

Run GHUnit test in command mode or Jenkins

You may got this error.

/bin/sh -c /Users/mingderwang/Desktop/testAsyncUploadFile/build/testAsyncUploadFile.build/Debug-iphonesimulator/Tests.build/Script-4FE869DB1614B11B00698DCF.sh Running: "/Users/mingderwang/Desktop/testAsyncUploadFile/build/Debug-iphonesimulator/Tests.app/Tests" -RegisterForSystemEvents Couldn't register com.katdc.test.Tests with the bootstrap server. Error: unknown error code. This generally means that another instance of this process was already running or is hung in the debugger./Users/mingderwang/Desktop/testAsyncUploadFile/RunTests.sh: line 50: 1428 Abort trap: 6 "/Users/mingderwang/Desktop/testAsyncUploadFile/build/Debug-iphonesimulator/Tests.app/Tests" -RegisterForSystemEvents Command /bin/sh failed with exit code 134 ** BUILD FAILED **

Restart your jenkins, you can fix this problem.

Same error logs may happen on "make test" in source code. You can "make clean; make; make test" again.


No comments:

Post a Comment