@@ -60,7 +60,6 @@ var knownFails = map[string]failReason{
60
60
"fixedbugs/issue11656.go" : {desc : "Error: Native function not implemented: runtime/debug.setPanicOnFault" },
61
61
"fixedbugs/issue4085b.go" : {desc : "Error: got panic JavaScript error: Invalid typed array length, want len out of range" },
62
62
"fixedbugs/issue4316.go" : {desc : "Error: runtime error: invalid memory address or nil pointer dereference" },
63
- "fixedbugs/issue4388.go" : {desc : "Error: expected <autogenerated>:1 have anonymous function:0" },
64
63
"fixedbugs/issue4562.go" : {desc : "Error: cannot find issue4562.go on stack" },
65
64
"fixedbugs/issue4620.go" : {desc : "map[0:1 1:2], Error: m[i] != 2" },
66
65
"fixedbugs/issue5856.go" : {category : requiresSourceMapSupport },
@@ -69,17 +68,6 @@ var knownFails = map[string]failReason{
69
68
"fixedbugs/issue7690.go" : {desc : "Error: runtime error: slice bounds out of range" },
70
69
"fixedbugs/issue8047b.go" : {desc : "Error: [object Object]" },
71
70
72
- // Failing due to use of os/exec.Command, which is unsupported. Now skipped via !nacl build tag.
73
- /*"fixedbugs/bug248.go": {desc: "os/exec.Command unsupported"},
74
- "fixedbugs/bug302.go": {desc: "os/exec.Command unsupported"},
75
- "fixedbugs/bug345.go": {desc: "os/exec.Command unsupported"},
76
- "fixedbugs/bug369.go": {desc: "os/exec.Command unsupported"},
77
- "fixedbugs/bug429_run.go": {desc: "os/exec.Command unsupported"},
78
- "fixedbugs/issue9862_run.go": {desc: "os/exec.Command unsupported"},*/
79
- "fixedbugs/issue10607.go" : {desc : "os/exec.Command unsupported" },
80
- "fixedbugs/issue13268.go" : {desc : "os/exec.Command unsupported" },
81
- "fixedbugs/issue14636.go" : {desc : "os/exec.Command unsupported" },
82
-
83
71
// These are new tests in Go 1.7.
84
72
"fixedbugs/issue14646.go" : {category : unsureIfGopherJSSupportsThisFeature , desc : "tests runtime.Caller behavior in a deferred func in SSA backend... does GopherJS even support runtime.Caller?" },
85
73
"fixedbugs/issue15039.go" : {desc : "valid bug but deal with after Go 1.7 support is out? it's likely not a regression" },
@@ -100,15 +88,13 @@ var knownFails = map[string]failReason{
100
88
// These are new tests in Go 1.10.
101
89
"fixedbugs/issue21879.go" : {desc : "incorrect output related to runtime.Callers, runtime.CallersFrames, etc." },
102
90
"fixedbugs/issue21887.go" : {desc : "incorrect output (although within spec, not worth fixing) for println(^uint64(0)). got: { '$high': 4294967295, '$low': 4294967295, '$val': [Circular] } want: 18446744073709551615" },
103
- "fixedbugs/issue22660.go" : {category : notApplicable , desc : "test of gc compiler, uses os/exec.Command" },
104
91
"fixedbugs/issue23305.go" : {desc : "GopherJS fails to compile println(0xffffffff), maybe because 32-bit arch" },
105
92
106
93
// These are new tests in Go 1.11.
107
- "fixedbugs/issue21221.go" : {category : usesUnsupportedPackage , desc : "uses unsafe package and compares nil pointers" },
108
- "fixedbugs/issue22662.go" : {desc : "line directives not fully working. Error: got /private/var/folders/b8/66r1c5856mqds1mrf2tjtq8w0000gn/T:1; want ??:1" },
109
- "fixedbugs/issue22662b.go" : {category : usesUnsupportedPackage , desc : "os/exec.Command unsupported" },
110
- "fixedbugs/issue23188.go" : {desc : "incorrect order of evaluation of index operations" },
111
- "fixedbugs/issue24547.go" : {desc : "incorrect computing method sets with shadowed methods" },
94
+ "fixedbugs/issue21221.go" : {category : usesUnsupportedPackage , desc : "uses unsafe package and compares nil pointers" },
95
+ "fixedbugs/issue22662.go" : {desc : "line directives not fully working. Error: got /private/var/folders/b8/66r1c5856mqds1mrf2tjtq8w0000gn/T:1; want ??:1" },
96
+ "fixedbugs/issue23188.go" : {desc : "incorrect order of evaluation of index operations" },
97
+ "fixedbugs/issue24547.go" : {desc : "incorrect computing method sets with shadowed methods" },
112
98
113
99
// These are new tests in Go 1.12.
114
100
"fixedbugs/issue23837.go" : {desc : "missing panic on nil pointer-to-empty-struct dereference" },
@@ -150,7 +136,6 @@ var knownFails = map[string]failReason{
150
136
"fixedbugs/issue48898.go" : {category : other , desc : "https://github.com/gopherjs/gopherjs/issues/1128" },
151
137
"fixedbugs/issue53600.go" : {category : lowLevelRuntimeDifference , desc : "GopherJS println format is different from Go's" },
152
138
"typeparam/chans.go" : {category : neverTerminates , desc : "uses runtime.SetFinalizer() and runtime.GC()." },
153
- "typeparam/issue51733.go" : {category : usesUnsupportedPackage , desc : "unsafe: uintptr to struct pointer conversion is unsupported" },
154
139
"typeparam/typeswitch5.go" : {category : lowLevelRuntimeDifference , desc : "GopherJS println format is different from Go's" },
155
140
156
141
// Failures related to the lack of generics support. Ideally, this section
@@ -162,6 +147,9 @@ var knownFails = map[string]failReason{
162
147
"typeparam/issue51521.go" : {category : lowLevelRuntimeDifference , desc : "different panic message when calling a method on nil interface" },
163
148
"fixedbugs/issue50672.go" : {category : other , desc : "https://github.com/gopherjs/gopherjs/issues/1271" },
164
149
"fixedbugs/issue53653.go" : {category : lowLevelRuntimeDifference , desc : "GopherJS println format of int64 is different from Go's" },
150
+
151
+ // These are new tests in Go 1.20
152
+ "fixedbugs/issue25897a.go" : {category : neverTerminates , desc : "does for { runtime.GC() }" },
165
153
}
166
154
167
155
type failCategory uint8
0 commit comments