Commit f5aecc1d authored by Elias Naur's avatar Elias Naur

Revert "androidtest.bash: wait for device to be ready before using it"

This reverts commit 27b9571d.

Reason for revert: broke the multi-device Android builder. And the wait logic is moving to the exec wrapper anyway.

Change-Id: I3e429106bbe70b3a12286f8f229a2b558279eec4
Reviewed-on: https://go-review.googlesource.com/c/163620
Run-TryBot: Elias Naur <mail@eliasnaur.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 01f34cbf
......@@ -69,12 +69,6 @@ cp -a "${GOROOT}/test" "${FAKE_GOROOT}/"
cp -a "${GOROOT}/lib" "${FAKE_GOROOT}/"
cp -a "${pkgdir}" "${FAKE_GOROOT}/pkg/"
# In case we're booting a device or emulator alongside androidtest.bash
# wait for it to be ready. adb wait-for-device is not enough, we have
# wait for sys.boot_completed.
echo '# Waiting for android device to be ready'
adb wait-for-device shell 'while [[ -z $(getprop sys.boot_completed) ]]; do sleep 1; done;'
echo '# Syncing test files to android device'
adb $GOANDROID_ADB_FLAGS shell mkdir -p /data/local/tmp/goroot
time adb $GOANDROID_ADB_FLAGS sync data &> /dev/null
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment