aboutsummaryrefslogtreecommitdiff
path: root/go/patch/go1.patch
diff options
context:
space:
mode:
Diffstat (limited to 'go/patch/go1.patch')
-rw-r--r--go/patch/go1.patch49
1 files changed, 33 insertions, 16 deletions
diff --git a/go/patch/go1.patch b/go/patch/go1.patch
index 49d229ec..e32268ac 100644
--- a/go/patch/go1.patch
+++ b/go/patch/go1.patch
@@ -2,49 +2,66 @@ test: enable some tests on android/arm64.
--- test/chanlinear.go
+++ test/chanlinear.go
-@@ -1,4 +1,4 @@
+@@ -1,9 +1,9 @@
-// +build darwin linux
+// +build darwin linux android
// run
// Copyright 2014 The Go Authors. All rights reserved.
+ // Use of this source code is governed by a BSD-style
+ // license that can be found in the LICENSE file.
+
+ // Test that dequeueing from a pending channel doesn't
+ // take linear time.
--- test/fixedbugs/bug385_64.go
+++ test/fixedbugs/bug385_64.go
-@@ -1,4 +1,4 @@
+@@ -1,9 +1,9 @@
-// +build amd64
+// +build amd64 arm64
// errorcheck
- // Copyright 2011 The Go Authors. All rights reserved.
+ // Copyright 2011 The Go Authors. All rights reserved.
+ // Use of this source code is governed by a BSD-style
+ // license that can be found in the LICENSE file.
+
+ // Issue 2444
+ // Issue 4666: issue with arrays of exactly 4GB.
--- 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
+@@ -1,9 +1,9 @@
+-// +build linux,!ppc64
++// +build linux,!ppc64 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
+ // Use of this source code is governed by a BSD-style
+ // license that can be found in the LICENSE file.
- // Copyright 2013 The Go Authors. All rights reserved.
+ // Test that a -B option is passed through when using both internal
+ // and external linking mode.
--- test/maplinear.go
+++ test/maplinear.go
-@@ -1,4 +1,4 @@
+@@ -1,9 +1,9 @@
-// +build darwin linux
+// +build darwin linux android
// run
// Copyright 2013 The Go Authors. All rights reserved.
+ // Use of this source code is governed by a BSD-style
+ // license that can be found in the LICENSE file.
+
+ // Test that maps don't go quadratic for NaNs and other values.
+
--- test/recover4.go
+++ test/recover4.go
-@@ -1,4 +1,4 @@
+@@ -1,9 +1,9 @@
-// +build linux darwin
+// +build linux android darwin
// run
- // Copyright 2015 The Go Authors. All rights reserved.
+ // Copyright 2015 The Go Authors. All rights reserved.
+ // Use of this source code is governed by a BSD-style
+ // license that can be found in the LICENSE file.
+
+ // Test that if a slice access causes a fault, a deferred func
+ // sees the most recent value of the variables it accesses.