aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Muxi Yan <muxi@users.noreply.github.com>2017-12-22 12:11:09 -0800
committerGravatar GitHub <noreply@github.com>2017-12-22 12:11:09 -0800
commit9affc8895d08ebdb0c7ac2dff90e75d31e0e9167 (patch)
tree5dfb3dbc836d2694e85bd33ab9b0459582c9b7af
parent32bd0023e465df60c9bd6afa5b433bbb7bfd1cd1 (diff)
parent3d44fc3c16b53914c08e26cf1e8ee66d88def1e5 (diff)
Merge pull request #13869 from grpc/redirect-stderr-xcodebuild
Fix a nit in run_tests.sh in ObjC tests
-rwxr-xr-xsrc/objective-c/tests/run_tests.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/objective-c/tests/run_tests.sh b/src/objective-c/tests/run_tests.sh
index 1c34bd8f48..cec34787cf 100755
--- a/src/objective-c/tests/run_tests.sh
+++ b/src/objective-c/tests/run_tests.sh
@@ -57,7 +57,7 @@ while [ $retries -lt 3 ]; do
HOST_PORT_LOCALSSL=localhost:5051 \
HOST_PORT_LOCAL=localhost:5050 \
HOST_PORT_REMOTE=grpc-test.sandbox.googleapis.com \
- test \
+ test 2>&1 \
| egrep -v "$XCODEBUILD_FILTER" \
| egrep -v '^$' \
| egrep -v "(GPBDictionary|GPBArray)" - ) || return_code=$?
@@ -66,6 +66,7 @@ while [ $retries -lt 3 ]; do
echo "Failed with code 65 (DTXProxyChannel error 1); retry."
retries=$(($retries+1))
elif [ $return_code == 0 ]; then
+ echo "$out"
break
else
echo "$out"