]> Cypherpunks repositories - gostls13.git/commit
misc/android: use adb exec-out instead of adb shell to avoid buffering
authorElias Naur <mail@eliasnaur.com>
Sat, 2 Mar 2019 12:07:54 +0000 (13:07 +0100)
committerElias Naur <mail@eliasnaur.com>
Sat, 2 Mar 2019 22:21:49 +0000 (22:21 +0000)
commit3de2fb21b7b4d472637f83031ec48e9bf539a4ee
treebfcdef13b85ad0f1c1b32cb1e16d4ac9358d7563
parente0ff4e6dc013ac18728743a43b6faa812737bdb2
misc/android: use adb exec-out instead of adb shell to avoid buffering

According to

https://stackoverflow.com/questions/46233200/stop-buffering-of-adb-shell-output

the adb exec-out commands avoids the buffering inherent to adb shell.

Let's see if using exec-out will fix the android builder flakyness where
exitcodes or output were sometimes missing.

Updates #30512 (perhaps fixes it).

Change-Id: Ib953ef0262b20730e0d4c332058d29c5066bfeb2
Reviewed-on: https://go-review.googlesource.com/c/164661
Run-TryBot: Elias Naur <mail@eliasnaur.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
misc/android/go_android_exec.go