benzeng / google-toolbox-for-mac

Automatically exported from code.google.com/p/google-toolbox-for-mac
Apache License 2.0
0 stars 0 forks source link

Run script disiplays errors twice in xcode #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Run a test

What is the expected output? What do you see instead?

With the following log, the error shows up twice in the xcode inline error 
display:
<code>
    /bin/sh -c /Users/mml/xcode_projects/.builds/LSTime.build/Debug-
iphonesimulator/UnitTests.build/Script-A1407FE90F0035FA00B120AF.sh
2008-12-23 12:08:23.414 UnitTests[13155:10b] Failed to load NSMainNibFile 
MainWindow.
Test Suite '/Users/mml/xcode_projects/Debug-iphonesimulator/UnitTests.app' 
started at 2008-
12-23 12:08:23 -0600
Test Suite 'LSTimeViewControllerTest' started at 2008-12-23 12:08:23 -0600
2008-12-23 12:08:23.420 UnitTests[13155:10b] *** -[UIRoundedRectButton text]: 
unrecognized selector sent to instance 0x4533c0
error: *** -[UIRoundedRectButton text]: unrecognized selector sent to instance 
0x4533c0
error: *** -[UIRoundedRectButton text]: unrecognized selector sent to instance 
0x4533c0
Test Case '-[LSTimeViewControllerTest testButtonIsWired]' failed (0.004 
seconds).
Test Case '-[LSTimeViewControllerTest testHasButton]' passed (0.001 seconds).
Test Case '-[LSTimeViewControllerTest testHasLabel]' passed (0.001 seconds).
Test Suite 'LSTimeViewControllerTest' finished at 2008-12-23 12:08:23 -0600.
Executed 3 tests, with 1 failures (1 unexpected) in 0.007 (0.007) seconds
Test Suite 'SenTestCase' started at 2008-12-23 12:08:23 -0600
Test Suite 'SenTestCase' finished at 2008-12-23 12:08:23 -0600.
Executed 0 tests, with 0 failures (0 unexpected) in 0.000 (0.000) seconds
Test Suite 'GTMTestCase' started at 2008-12-23 12:08:23 -0600
Test Suite 'GTMTestCase' finished at 2008-12-23 12:08:23 -0600.
Executed 0 tests, with 0 failures (0 unexpected) in 0.000 (0.000) seconds
Test Suite '/Users/mml/xcode_projects/Debug-iphonesimulator/UnitTests.app' 
finished at 
2008-12-23 12:08:23 -0600.
Executed 3 tests, with 1 failures (1 unexpected) in 0.008 (0.008) seconds
</code>

What version of the product are you using? On what operating system?
5.1, osx

Please provide any additional information below.
Running w/ "Build", not "build & go"

Original issue reported on code.google.com by mloo...@gmail.com on 23 Dec 2008 at 6:11

GoogleCodeExporter commented 9 years ago
fixed in trunk

Original comment by mloo...@gmail.com on 23 Dec 2008 at 6:15

GoogleCodeExporter commented 9 years ago

Original comment by thoma...@gmail.com on 23 Dec 2008 at 11:19

GoogleCodeExporter commented 9 years ago
Hi.....Mlooney

I'm having the same problem with the unit test suite seeming to run twice.  

What exactly did you do to fix it?  (I'm using Xcode 3.1.2 and snow leopard)

Any help would be greatly appreciated.

Original comment by Natha...@gmail.com on 3 Dec 2009 at 8:25

GoogleCodeExporter commented 9 years ago
NathanIV - Are you running with the sources in SVN or the zip?  The zips are 
out of date and had this bug.  If 
you are on top of trunk, please open a new issues with more info.

Original comment by thoma...@gmail.com on 4 Dec 2009 at 12:24