aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/norace_linux_test.go
diff options
context:
space:
mode:
authorHyang-Ah Hana Kim <hyangah@gmail.com>2015-04-23 13:55:56 -0400
committerHyang-Ah Hana Kim <hyangah@gmail.com>2015-04-23 19:08:33 +0000
commitaef54d40ac514cc3dac4b24d0c9a89e0ab027a44 (patch)
tree6af5608f7e5212591709ca6b79bcc9ffb3786e39 /src/runtime/norace_linux_test.go
parentba8fa0e1a90b01727c9aa6bb23d6c3981cee9b4e (diff)
downloadgo-aef54d40ac514cc3dac4b24d0c9a89e0ab027a44.tar.gz
go-aef54d40ac514cc3dac4b24d0c9a89e0ab027a44.zip
runtime: disable TestNewOSProc0 on android/arm.
newosproc0 does not work on android/arm. See issue #10548. Change-Id: Ieaf6f5d0b77cddf5bf0b6c89fd12b1c1b8723f9b Reviewed-on: https://go-review.googlesource.com/9293 Reviewed-by: David Crawshaw <crawshaw@golang.org>
Diffstat (limited to 'src/runtime/norace_linux_test.go')
-rw-r--r--src/runtime/norace_linux_test.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/runtime/norace_linux_test.go b/src/runtime/norace_linux_test.go
index 3f6d4e77e5..fba3b05ffd 100644
--- a/src/runtime/norace_linux_test.go
+++ b/src/runtime/norace_linux_test.go
@@ -22,6 +22,11 @@ func newOSProcCreated() {
}
func TestNewOSProc0(t *testing.T) {
+ if runtime.GOOS == "android" && runtime.GOARCH == "arm" {
+ // newosproc0 does not work for android/arm.
+ // See issue 10548.
+ t.Skipf("skipping on %v", runtime.GOOS)
+ }
runtime.NewOSProc0(0x800000, unsafe.Pointer(runtime.FuncPC(newOSProcCreated)))
check, end := time.Tick(1*time.Second), time.Tick(5*time.Second)
for {