Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(17)

Issue 7047: "Adding unittests to Xcode project"

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 7 months ago by Preston
Modified:
9 years, 4 months ago
Reviewers:
chandlerc1, wan, vladl
CC:
opensource-gtest_google.com
Base URL:
http://googletest.googlecode.com/svn/trunk/
Visibility:
Public.

Patch Set 1 #

Patch Set 2 : Adding unittests to Xcode project #

Patch Set 3 : Adding unittests to Xcode project #

Patch Set 4 : Adding unit tests to Xcode project #

Patch Set 5 : Adding test to Xcode project #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3763 lines, -609 lines) Patch
M Makefile.am View 2 chunks +4 lines, -1 line 0 comments Download
M README View 1 chunk +43 lines, -8 lines 0 comments Download
A xcode/Config/InternalTestTarget.xcconfig View 1 chunk +8 lines, -0 lines 0 comments Download
A xcode/Config/TestTarget.xcconfig View 1 chunk +7 lines, -0 lines 0 comments Download
A xcode/Scripts/runtests.sh View 1 2 1 chunk +56 lines, -0 lines 0 comments Download
M xcode/gtest.xcodeproj/project.pbxproj View 1 2 11 chunks +3645 lines, -600 lines 0 comments Download

Messages

Total messages: 3
Preston
Zhanyong and Chandler, I have updated the Xcode project with the ability to run the ...
15 years, 6 months ago (2008-10-04 04:19:15 UTC) #1
Zhanyong
The xcode project file itself is indeed too big and too low-level to by reviewed ...
15 years, 6 months ago (2008-10-06 20:33:29 UTC) #2
Preston
15 years, 6 months ago (2008-10-08 04:08:00 UTC) #3
Fixed the issues Zhanyong and Vlad raised.

http://codereview.appspot.com/7047/diff/202/206
File xcode/Scripts/runtests.sh (right):

http://codereview.appspot.com/7047/diff/202/206#newcode3
Line 3: # Executes the samples and unittests for the Google Test Framework
On 2008/10/06 20:33:29, Zhanyong wrote:
> Nit: unittests => tests

Done.

http://codereview.appspot.com/7047/diff/202/206#newcode14
Line 14: # Create and array of test executables
On 2008/10/06 20:33:29, Zhanyong wrote:
> and => an

Done.

http://codereview.appspot.com/7047/diff/202/206#newcode15
Line 15: test_executables=("$BUILT_PRODUCTS_DIR/sample1_unittest"
Agreed. It would be nice to have this list kept somewhere. I've extracted this
list from the Makefile.am file. I think we should revisit this after Chandler
has a chance to create a CMake solution.

On 2008/10/06 20:33:29, Zhanyong wrote:
> Just a thought for the future: we have this list in various forms at multiple
> places, since we need to support multiple platforms.  It would be nice to only
> need to define the list in a single place.  Perhpas Chandler's new build
script
> will be the answer, or perhaps there's something easy we can do before that. 
I
> don't know.

http://codereview.appspot.com/7047/diff/202/206#newcode61
Line 61: echo "Tests complete with $succeeded successes and $failed failures."
In the latest version, I am returning the number of failed tests. Xcode
interprets a nonzero return value  as a failure.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b