allwinner_a64/android/external/toolchain-utils/go/patch/go1.patch
2018-08-08 16:14:42 +08:00

50 lines
1.2 KiB
Diff

test: enable some tests on android/arm64.
--- test/chanlinear.go
+++ test/chanlinear.go
@@ -1,4 +1,4 @@
-// +build darwin linux
+// +build darwin linux android
// run
// Copyright 2014 The Go Authors. All rights reserved.
--- test/fixedbugs/bug385_64.go
+++ test/fixedbugs/bug385_64.go
@@ -1,4 +1,4 @@
-// +build amd64
+// +build amd64 arm64
// errorcheck
// Copyright 2011 The Go Authors. All rights reserved.
--- test/fixedbugs/issue10607.go
+++ test/fixedbugs/issue10607.go
@@ -1,4 +1,4 @@
-// +build linux,!ppc64,!ppc64le,!mips64,!mips64le
+// +build linux,!ppc64,!ppc64le,!mips64,!mips64le android
// run
// Copyright 2015 The Go Authors. All rights reserved.
--- test/fixedbugs/issue6036.go
+++ test/fixedbugs/issue6036.go
@@ -1,4 +1,4 @@
-// +build amd64
+// +build amd64 arm64
// compile
// Copyright 2013 The Go Authors. All rights reserved.
--- test/maplinear.go
+++ test/maplinear.go
@@ -1,4 +1,4 @@
-// +build darwin linux
+// +build darwin linux android
// run
// Copyright 2013 The Go Authors. All rights reserved.
--- test/recover4.go
+++ test/recover4.go
@@ -1,4 +1,4 @@
-// +build linux darwin
+// +build linux android darwin
// run
// Copyright 2015 The Go Authors. All rights reserved.