Merge pull request #13869 from grpc/redirect-stderr-xcodebuild

Fix a nit in run_tests.sh in ObjC tests
pull/13871/head
Muxi Yan 7 years ago committed by GitHub
commit 9affc8895d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      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"

Loading…
Cancel
Save