]> Cypherpunks repositories - gostls13.git/commitdiff
misc/cgo/test: skip test8694 on ARM.
authorShenghou Ma <minux@golang.org>
Tue, 9 Dec 2014 03:27:29 +0000 (22:27 -0500)
committerDavid Symonds <dsymonds@golang.org>
Thu, 11 Dec 2014 06:34:10 +0000 (17:34 +1100)
LGTM=dave, bradfitz, rsc
R=golang-codereviews, dave, bradfitz, rsc
CC=golang-codereviews
https://golang.org/cl/185130043

misc/cgo/test/issue8694.go

index 643b284f6acb23b2e2f8f02be48b5d34fda038d1..1876f782d96939905c6598d92513f185fb1d852c 100644 (file)
@@ -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