diff options
author | Andrew Gerrand <adg@golang.org> | 2014-12-10 09:13:58 +1100 |
---|---|---|
committer | Andrew Gerrand <adg@golang.org> | 2014-12-10 09:13:58 +1100 |
commit | 131ef0046a9ceb80e60baf70276f2bda60ef8fe3 (patch) | |
tree | 1c0b52e6f4a280b884d06fc4cad44e2dabd8f0e5 | |
parent | 9fe6dc01fe37206db07cbcbcf27a92e0f5703f4c (diff) | |
download | go-131ef0046a9ceb80e60baf70276f2bda60ef8fe3.tar.gz |
[release-branch.go1.4] [release-branch.go1.4] misc/cgo/test: skip test8694 on ARM.
??? CL 185130043 / 586738173884
misc/cgo/test: skip test8694 on ARM.
LGTM=dave, bradfitz, rsc
R=golang-codereviews, dave, bradfitz, rsc
CC=golang-codereviews
https://codereview.appspot.com/185130043
Committer: Russ Cox <rsc@golang.org>
???
LGTM=minux
R=golang-codereviews, minux, bradfitz
CC=golang-codereviews
https://codereview.appspot.com/188870043
-rw-r--r-- | misc/cgo/test/issue8694.go | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/misc/cgo/test/issue8694.go b/misc/cgo/test/issue8694.go index 643b284f6..1876f782d 100644 --- a/misc/cgo/test/issue8694.go +++ b/misc/cgo/test/issue8694.go @@ -12,9 +12,15 @@ complex double complexDoubleSquared(complex double a) { return a*a; } */ import "C" -import "testing" +import ( + "runtime" + "testing" +) func test8694(t *testing.T) { + if runtime.GOARCH == "arm" { + t.Skip("test8694 is disabled on ARM because 5l cannot handle thumb library.") + } // Really just testing that this compiles, but check answer anyway. x := complex64(2 + 3i) x2 := x * x |