aboutsummaryrefslogtreecommitdiff
path: root/test/inline_sync.go
diff options
context:
space:
mode:
authorJoel Sing <joel@sing.id.au>2020-01-25 03:10:04 +1100
committerJoel Sing <joel@sing.id.au>2020-01-25 16:30:26 +0000
commit7f331e0e1735449380299654dc915fb5c8fe84ab (patch)
treed62c7a7dc416f52ba897bd71eb89e85b656ad054 /test/inline_sync.go
parent69660ed7e05b8fccf071210cb0963aba8edc5ec3 (diff)
downloadgo-7f331e0e1735449380299654dc915fb5c8fe84ab.tar.gz
go-7f331e0e1735449380299654dc915fb5c8fe84ab.zip
test: adjust tests for riscv64
This disables some tests that are unsupported on riscv64 and adds support for risc64 to test/nosplit. Updates #27532, #36739 and #36765 Change-Id: I0a57797a05bc80236709fc240c0a0efb0ee0d16b Reviewed-on: https://go-review.googlesource.com/c/go/+/216263 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'test/inline_sync.go')
-rw-r--r--test/inline_sync.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/inline_sync.go b/test/inline_sync.go
index 30b436af41..c37cb136f7 100644
--- a/test/inline_sync.go
+++ b/test/inline_sync.go
@@ -1,4 +1,4 @@
-// +build !nacl,!386,!wasm,!arm,!gcflags_noopt
+// +build !nacl,!386,!wasm,!arm,!riscv64,!gcflags_noopt
// errorcheck -0 -m
// Copyright 2019 The Go Authors. All rights reserved.
@@ -14,6 +14,9 @@
// of the sync fast paths. This test should be re-enabled once the problem
// is solved.
+// TODO(jsing): Re-enable on riscv64 when it has atomic intrinsics - see
+// golang.org/issue/36765
+
package foo
import (