Skip to content

Commit ae37971

Browse files
authored
Remove xcpretty from unit tests to see full output on test failures (flutter#19667)
1 parent c05ca7e commit ae37971

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

testing/ios/IosUnitTests/run_tests.sh

+1-7
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,9 @@ if [ $# -eq 1 ]; then
88
FLUTTER_ENGINE=$1
99
fi
1010

11-
PRETTY="cat"
12-
if which xcpretty; then
13-
PRETTY="xcpretty"
14-
fi
15-
1611
set -o pipefail && xcodebuild -sdk iphonesimulator \
1712
-scheme IosUnitTests \
1813
-destination 'platform=iOS Simulator,name=iPhone 8' \
1914
test \
20-
FLUTTER_ENGINE=$FLUTTER_ENGINE | $PRETTY
21-
15+
FLUTTER_ENGINE=$FLUTTER_ENGINE
2216
popd

testing/scenario_app/run_ios_tests.sh

+1-7
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ if [ $# -eq 1 ]; then
88
FLUTTER_ENGINE=$1
99
fi
1010

11-
PRETTY="cat"
12-
if which xcpretty; then
13-
PRETTY="xcpretty"
14-
fi
15-
1611
cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd
1712

1813
# Delete after LUCI push.
@@ -24,6 +19,5 @@ set -o pipefail && xcodebuild -sdk iphonesimulator \
2419
-scheme Scenarios \
2520
-destination 'platform=iOS Simulator,name=iPhone 8' \
2621
test \
27-
FLUTTER_ENGINE=$FLUTTER_ENGINE | $PRETTY
28-
22+
FLUTTER_ENGINE=$FLUTTER_ENGINE
2923
popd

0 commit comments

Comments
 (0)