aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2014-12-10 09:13:58 +1100
committerRuss Cox <rsc@golang.org>2014-12-10 09:13:58 +1100
commitc089afbbd73e9765ef7c7c291af5303d730c42a8 (patch)
treece9f2608a3668c8845a6d116a22389a6f26d5c14
parent05560adf6246251d084fc08a427ebca7bf1513a1 (diff)
downloadgo-c089afbbd73e9765ef7c7c291af5303d730c42a8.tar.gz
go-c089afbbd73e9765ef7c7c291af5303d730c42a8.zip
[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://golang.org/cl/185130043 »»» LGTM=minux R=golang-codereviews, minux, bradfitz CC=golang-codereviews https://golang.org/cl/188870043
-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 643b284f6a..1876f782d9 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