From b18d54f19199d7df58b4d60995d9b922b80aa3fc Mon Sep 17 00:00:00 2001 From: Muxi Yan Date: Tue, 21 Mar 2017 14:56:51 -0700 Subject: [PATCH 1/3] Use xcpretty to provide better test information --- src/objective-c/tests/run_tests.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/objective-c/tests/run_tests.sh b/src/objective-c/tests/run_tests.sh index 677459e0822..f3f04b86e2d 100755 --- a/src/objective-c/tests/run_tests.sh +++ b/src/objective-c/tests/run_tests.sh @@ -58,14 +58,10 @@ xcodebuild \ -workspace Tests.xcworkspace \ -scheme AllTests \ -destination name="iPhone 6" \ - test \ - | egrep "$XCODEBUILD_FILTER" \ - | egrep -v "(GPBDictionary|GPBArray)" - + test | xcpretty xcodebuild \ -workspace Tests.xcworkspace \ -scheme InteropTestsRemoteWithCronet \ -destination name="iPhone 6" \ - test \ - | egrep "$XCODEBUILD_FILTER" \ - | egrep -v "(GPBDictionary|GPBArray)" - + test | xcpretty From b05fc32f84f98ceb6ecb0acaccc7bc84a7395e5e Mon Sep 17 00:00:00 2001 From: Muxi Yan Date: Tue, 21 Mar 2017 15:26:53 -0700 Subject: [PATCH 2/3] xcpretty for examples too --- src/objective-c/tests/build_one_example.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/objective-c/tests/build_one_example.sh b/src/objective-c/tests/build_one_example.sh index 9fef6582a38..bb55ca4ee1e 100755 --- a/src/objective-c/tests/build_one_example.sh +++ b/src/objective-c/tests/build_one_example.sh @@ -57,6 +57,4 @@ xcodebuild \ build \ -workspace *.xcworkspace \ -scheme $SCHEME \ - -destination name="iPhone 6" \ - | egrep "$XCODEBUILD_FILTER" \ - | egrep -v "(GPBDictionary|GPBArray)" - + -destination name="iPhone 6" | xcpretty From e0b6aaa2b8b6121d69d12149905e94adb41ca517 Mon Sep 17 00:00:00 2001 From: Muxi Yan Date: Wed, 22 Mar 2017 15:57:46 -0700 Subject: [PATCH 3/3] More granularity in objc tests --- .../xcshareddata/xcschemes/AllTests.xcscheme | 20 ------------------- src/objective-c/tests/run_tests.sh | 12 +++++++++++ 2 files changed, 12 insertions(+), 20 deletions(-) diff --git a/src/objective-c/tests/Tests.xcodeproj/xcshareddata/xcschemes/AllTests.xcscheme b/src/objective-c/tests/Tests.xcodeproj/xcshareddata/xcschemes/AllTests.xcscheme index 49dc3faa3d0..d1d616c4cf2 100644 --- a/src/objective-c/tests/Tests.xcodeproj/xcshareddata/xcschemes/AllTests.xcscheme +++ b/src/objective-c/tests/Tests.xcodeproj/xcshareddata/xcschemes/AllTests.xcscheme @@ -49,26 +49,6 @@ - - - - - - - -