Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Remove xcpretty from unit tests to see full output on test failures #19667

Merged
merged 1 commit into from
Jul 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions testing/ios/IosUnitTests/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 1 addition & 7 deletions testing/scenario_app/run_ios_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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