aboutsummaryrefslogtreecommitdiff
path: root/go/patch/go1.patch
blob: e32268ac456f87520b4424b39cbb54b1a489fbb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
test: enable some tests on android/arm64.

--- test/chanlinear.go
+++ test/chanlinear.go
@@ -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,9 +1,9 @@
-// +build amd64
+// +build amd64 arm64
 // errorcheck
 
 // 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,9 +1,9 @@
-// +build linux,!ppc64
+// +build linux,!ppc64 android
 // run
 
 // 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 a -B option is passed through when using both internal
 // and external linking mode.
--- test/maplinear.go
+++ test/maplinear.go
@@ -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,9 +1,9 @@
-// +build linux darwin
+// +build linux android darwin
 // run
 
 // 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.