1
0
mirror of https://github.com/golang/go synced 2024-09-30 03:24:39 -06:00
go/misc
Elias Naur 10aede26d0 misc/android: fix detection of GOROOT tests
strings.HasPrefix is not good enough to determine whether a path
is a subdirectory of another because it does not respect path
boundaries. filepath.Rel is good eonugh as long as we filter out results
that use parent directories, "..".

Hopefully fix the android emulator builders on the subrepositories.

Change-Id: I17ee7e0028c0b0b26a6c5f67629f53c9a660c6e5
Reviewed-on: https://go-review.googlesource.com/c/go/+/167117
Run-TryBot: Elias Naur <mail@eliasnaur.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-03-12 15:47:18 +00:00
..
android misc/android: fix detection of GOROOT tests 2019-03-12 15:47:18 +00:00
arm
cgo misc/android: enable many more tests on GOOS=android 2019-03-08 23:32:03 +00:00
chrome/gophertool
ios misc/android,misc/ios: evaluate current working directory symlinks 2019-03-01 16:41:38 +00:00
linkcheck
nacl cmd: refresh cmd/vendor to match 'go mod vendor' 2019-03-11 20:27:03 +00:00
swig
trace
wasm misc/wasm: better adapt to different JavaScript environments 2019-03-03 17:55:52 +00:00
benchcmp
editors
go.mod misc: add go.mod file 2019-02-27 17:47:31 +00:00