Remove xcpretty from unit tests to see full output on test failures (flutter/engine#19667)
This commit is contained in:
@@ -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,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
|
||||
|
||||
Reference in New Issue
Block a user