Commit 60abc071 authored by Elias Naur's avatar Elias Naur

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/164338Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 4832bf8b
......@@ -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
......
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