Skip to content

Commit

Permalink
Remove xcpretty from unit tests to see full output on test failures (f…
Browse files Browse the repository at this point in the history
  • Loading branch information
jmagman authored Jul 13, 2020
1 parent c05ca7e commit ae37971
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
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

0 comments on commit ae37971

Please sign in to comment.