Default to running the scenario tests on an arm iOS simulator variant on an Apple Silicon host Mac (flutter/engine#39210)

* Default to using an arm iOS simulator variant on Apple Silicon

* Kick tests
This commit is contained in:
Jenn Magder 2023-01-27 18:57:45 -08:00 committed by GitHub
parent b1a7e47b95
commit 55a427bec8

View File

@ -27,7 +27,11 @@ function follow_links() (
SCRIPT_DIR=$(follow_links "$(dirname -- "${BASH_SOURCE[0]}")")
SRC_DIR="$(cd "$SCRIPT_DIR/../../.."; pwd -P)"
FLUTTER_ENGINE="ios_debug_sim_unopt"
if uname -m | grep "arm64"; then
FLUTTER_ENGINE="ios_debug_sim_unopt_arm64"
else
FLUTTER_ENGINE="ios_debug_sim_unopt"
fi
if [[ $# -eq 1 ]]; then
FLUTTER_ENGINE="$1"