Commit 7cf5b817 authored by Thomas Van Lenten's avatar Thomas Van Lenten

Merge pull request #1247 from thomasvl/xctool_plain_output

Move the xctool use of -reporter into a common spot and always use "plain" to get more readable logs on travis.
parents ee819ea7 efca3689
...@@ -179,8 +179,10 @@ internal_objectivec_common () { ...@@ -179,8 +179,10 @@ internal_objectivec_common () {
} }
internal_xctool_debug_and_release() { internal_xctool_debug_and_release() {
xctool -configuration Debug "$@" # Always use -reporter plain to avoid escape codes in output (makes travis
xctool -configuration Release "$@" # logs easier to read).
xctool -reporter plain -configuration Debug "$@"
xctool -reporter plain -configuration Release "$@"
} }
build_objectivec_ios() { build_objectivec_ios() {
...@@ -202,14 +204,11 @@ build_objectivec_ios() { ...@@ -202,14 +204,11 @@ build_objectivec_ios() {
for i in "${IOS_DESTINATIONS[@]}" ; do for i in "${IOS_DESTINATIONS[@]}" ; do
# Throw -newSimulatorInstance in incase it helps with the flake that # Throw -newSimulatorInstance in incase it helps with the flake that
# started happening after xctool 0.2.8 got released. # started happening after xctool 0.2.8 got released.
# Use -reporter plain to avoid escape codes in output while sorting out
# flake that doesn't seem source related.
internal_xctool_debug_and_release \ internal_xctool_debug_and_release \
-project objectivec/ProtocolBuffers_iOS.xcodeproj \ -project objectivec/ProtocolBuffers_iOS.xcodeproj \
-scheme ProtocolBuffers \ -scheme ProtocolBuffers \
-sdk iphonesimulator \ -sdk iphonesimulator \
-destination "${i}" \ -destination "${i}" \
-reporter plain \
run-tests \ run-tests \
-newSimulatorInstance -newSimulatorInstance
done done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment