diff options
author | Elias Naur <mail@eliasnaur.com> | 2019-02-28 08:40:55 +0100 |
---|---|---|
committer | Elias Naur <mail@eliasnaur.com> | 2019-03-01 06:04:29 +0000 |
commit | 60abc07113e66873d468f54bb5be09fbdd20ca07 (patch) | |
tree | 9bf4130b5e446a9876e95d3511cb5aebdcf27b88 /misc/android | |
parent | 4832bf8bde9df6695f6f4e15a7885a1609bb579f (diff) | |
download | go-60abc07113e66873d468f54bb5be09fbdd20ca07.tar.gz go-60abc07113e66873d468f54bb5be09fbdd20ca07.zip |
misc/android: adb push --sync testdata
(A stripped down version of) $GOROOT is uploaded to the device
before running standar library tests, including many (all?)
testdata directories.
Use the --sync flag when pushing testdata directories to the device
in case it is already present.
Change-Id: If8104f9d15838c1be3623adcf831a7188303c376
Reviewed-on: https://go-review.googlesource.com/c/164338
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'misc/android')
-rw-r--r-- | misc/android/go_android_exec.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/android/go_android_exec.go b/misc/android/go_android_exec.go index 845ed6e99c..55461df31a 100644 --- a/misc/android/go_android_exec.go +++ b/misc/android/go_android_exec.go @@ -104,7 +104,7 @@ func main() { run("push", os.Args[1], deviceBin) if _, err := os.Stat("testdata"); err == nil { - run("push", "testdata", deviceCwd) + run("push", "--sync", "testdata", deviceCwd) } // Forward SIGQUIT from the go command to show backtraces from |