From 51ef62b8959d8a03972f91a41533f0a83e3cbac0 Mon Sep 17 00:00:00 2001 From: Jenn Magder Date: Mon, 13 Jul 2020 15:48:42 -0700 Subject: [PATCH] Remove xcpretty from unit tests to see full output on test failures (flutter/engine#19667) --- engine/src/flutter/testing/ios/IosUnitTests/run_tests.sh | 8 +------- engine/src/flutter/testing/scenario_app/run_ios_tests.sh | 8 +------- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/engine/src/flutter/testing/ios/IosUnitTests/run_tests.sh b/engine/src/flutter/testing/ios/IosUnitTests/run_tests.sh index 3ce96a077a..6c44de0aef 100755 --- a/engine/src/flutter/testing/ios/IosUnitTests/run_tests.sh +++ b/engine/src/flutter/testing/ios/IosUnitTests/run_tests.sh @@ -8,15 +8,9 @@ if [ $# -eq 1 ]; then FLUTTER_ENGINE=$1 fi -PRETTY="cat" -if which xcpretty; then - PRETTY="xcpretty" -fi - set -o pipefail && xcodebuild -sdk iphonesimulator \ -scheme IosUnitTests \ -destination 'platform=iOS Simulator,name=iPhone 8' \ test \ - FLUTTER_ENGINE=$FLUTTER_ENGINE | $PRETTY - + FLUTTER_ENGINE=$FLUTTER_ENGINE popd diff --git a/engine/src/flutter/testing/scenario_app/run_ios_tests.sh b/engine/src/flutter/testing/scenario_app/run_ios_tests.sh index 14e3a31b9f..a1ad83dff1 100755 --- a/engine/src/flutter/testing/scenario_app/run_ios_tests.sh +++ b/engine/src/flutter/testing/scenario_app/run_ios_tests.sh @@ -8,11 +8,6 @@ if [ $# -eq 1 ]; then FLUTTER_ENGINE=$1 fi -PRETTY="cat" -if which xcpretty; then - PRETTY="xcpretty" -fi - cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd # Delete after LUCI push. @@ -24,6 +19,5 @@ set -o pipefail && xcodebuild -sdk iphonesimulator \ -scheme Scenarios \ -destination 'platform=iOS Simulator,name=iPhone 8' \ test \ - FLUTTER_ENGINE=$FLUTTER_ENGINE | $PRETTY - + FLUTTER_ENGINE=$FLUTTER_ENGINE popd