mirror of https://github.com/golang/go.git
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
This commit is contained in:
parent
7a4a64e8f3
commit
026b5bbc8b
|
|
@ -12,9 +12,15 @@ complex double complexDoubleSquared(complex double a) { return a*a; }
|
||||||
*/
|
*/
|
||||||
import "C"
|
import "C"
|
||||||
|
|
||||||
import "testing"
|
import (
|
||||||
|
"runtime"
|
||||||
|
"testing"
|
||||||
|
)
|
||||||
|
|
||||||
func test8694(t *testing.T) {
|
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.
|
// Really just testing that this compiles, but check answer anyway.
|
||||||
x := complex64(2 + 3i)
|
x := complex64(2 + 3i)
|
||||||
x2 := x * x
|
x2 := x * x
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue