diff --git a/testing/scenario_app/run_ios_tests.sh b/testing/scenario_app/run_ios_tests.sh index 0034a42e4899a..37ab3a76f11d0 100755 --- a/testing/scenario_app/run_ios_tests.sh +++ b/testing/scenario_app/run_ios_tests.sh @@ -45,7 +45,7 @@ SCENARIO_PATH=$SRC_DIR/out/$FLUTTER_ENGINE/scenario_app/Scenarios pushd . cd $SCENARIO_PATH -RESULT_BUNDLE_FOLDER="ios_scenario_xcresult" +RESULT_BUNDLE_FOLDER=$(mktemp -d ios_scenario_xcresult_XXX) RESULT_BUNDLE_PATH="${SCENARIO_PATH}/${RESULT_BUNDLE_FOLDER}" # Zip and upload xcresult to luci. @@ -61,8 +61,6 @@ zip_and_upload_xcresult_to_luci () { echo "Running simulator tests with Skia" echo "" -mktemp -d $RESULT_BUNDLE_PATH - if set -o pipefail && xcodebuild -sdk iphonesimulator \ -scheme Scenarios \ -resultBundlePath "$RESULT_BUNDLE_PATH/ios_scenario.xcresult" \