We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a279152 commit 9317f4cCopy full SHA for 9317f4c
scripts/run-android-instrumentation-tests.sh
@@ -131,7 +131,10 @@ fi
131
AVD_NAME="cn1-api35-arm"
132
if ! "$AVDMANAGER" list avd | grep -q "Name: $AVD_NAME"; then
133
log "Creating AVD $AVD_NAME"
134
- printf 'no\n' | "$AVDMANAGER" create avd -n "$AVD_NAME" -k "system-images;android-35;google_apis;arm64-v8a" -d pixel >/dev/null
+ if ! printf 'no\n' | "$AVDMANAGER" create avd -n "$AVD_NAME" -k "system-images;android-35;google_apis;arm64-v8a" -d pixel >/dev/null 2>&1; then
135
+ log "Failed to create AVD $AVD_NAME" >&2
136
+ exit 1
137
+ fi
138
fi
139
140
log "Starting AVD $AVD_NAME in headless mode"
0 commit comments