summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShenghou Ma <minux@golang.org>2014-12-08 22:27:29 -0500
committerShenghou Ma <minux@golang.org>2014-12-08 22:27:29 -0500
commitc6e0f27dba2ab7c77dd4ceb58b8ee19f2ce79bbd (patch)
treefba786b755d6493910a88fb7a38a53d6ae447c30
parentf578e9d3c6255a5dd511e80f123a126523ff3c06 (diff)
downloadgo-c6e0f27dba2ab7c77dd4ceb58b8ee19f2ce79bbd.tar.gz
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>
-rw-r--r--misc/cgo/test/issue8694.go8
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