From 47658b3bb5952bb07e55f613017968142f349a39 Mon Sep 17 00:00:00 2001 From: gaaclarke <30870216+gaaclarke@users.noreply.github.com> Date: Mon, 24 Jun 2019 11:22:41 -0700 Subject: [PATCH] Made sure that the run_tests script returns the right error code. (flutter/engine#9456) --- engine/src/flutter/testing/ios/IosUnitTests/run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/testing/ios/IosUnitTests/run_tests.sh b/engine/src/flutter/testing/ios/IosUnitTests/run_tests.sh index 806693a9232..95a292d93f6 100755 --- a/engine/src/flutter/testing/ios/IosUnitTests/run_tests.sh +++ b/engine/src/flutter/testing/ios/IosUnitTests/run_tests.sh @@ -9,7 +9,7 @@ if which xcpretty; then PRETTY="xcpretty" fi -xcodebuild -sdk iphonesimulator \ +set -o pipefail && xcodebuild -sdk iphonesimulator \ -scheme IosUnitTests \ -destination 'platform=iOS Simulator,name=iPhone SE,OS=12.2' \ test \