aboutsummaryrefslogtreecommitdiff
path: root/src/androidtest.bash
diff options
context:
space:
mode:
authorElias Naur <mail@eliasnaur.com>2019-02-24 15:51:48 +0000
committerElias Naur <mail@eliasnaur.com>2019-02-24 21:54:04 +0000
commitf5aecc1d1dfab8ad3397915f13920825e2ce6701 (patch)
treed7a02f2d63d15301b557e813efce1cf9e7c46d44 /src/androidtest.bash
parent01f34cbf525bcdef5ca0040960e029ac92b62642 (diff)
downloadgo-f5aecc1d1dfab8ad3397915f13920825e2ce6701.tar.xz
Revert "androidtest.bash: wait for device to be ready before using it"
This reverts commit 27b9571de800c05a41081ea80cd934e48e0a8f70. 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: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/androidtest.bash')
-rwxr-xr-xsrc/androidtest.bash6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/androidtest.bash b/src/androidtest.bash
index a3784bc454..e43b89c0dc 100755
--- a/src/androidtest.bash
+++ b/src/androidtest.bash
@@ -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