You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The fixedbugs/issue19182.go test requires GOMAXPROCS=2, otherwise it
never terminates. Avoid running it, since GopherJS only supports
GOMAXPROCS=1.
The fixedbugs/issue19246.go case looks similar to #551. /cc @neelance
Check knownFails table before potentially setting test.err to nil for
skip errors. Otherwise the never-terminate skip tests get incorrectly
classified as "unok" instead of "knfl".
Copy file name to clipboardExpand all lines: tests/run.go
+20-5Lines changed: 20 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -90,12 +90,21 @@ var knownFails = map[string]failReason{
90
90
"fixedbugs/issue15528.go": {category: usesUnsupportedPackage, desc: `imports "unsafe" package and gets: Error: reflect: call of reflect.Value.IsNil on unsafe.Pointer Value`}, // See https://github.com/golang/go/commit/dfc56a4cd313c9c5de37f4fadb14912286edc42f for relevant commit.
91
91
"fixedbugs/issue17381.go": {category: unsureIfGopherJSSupportsThisFeature, desc: "tests runtime.{Callers,FuncForPC} behavior in a deferred func with garbage on stack... does GopherJS even support runtime.{Callers,FuncForPC}?"},
92
92
"fixedbugs/issue18149.go": {desc: "//line directives with filenames are not correctly parsed, see https://github.com/gopherjs/gopherjs/issues/553."},
"runtime error: invalid memory address or nil pointer dereference"
98
+
want:
99
+
"value method main.T.F called using nil *T pointer"`},
100
+
"fixedbugs/issue19246.go": {desc: "expected nil pointer dereference panic"}, // Issue https://golang.org/issues/19246: Failed to evaluate some zero-sized values when converting them to interfaces.
93
101
}
94
102
95
103
typefailCategoryuint8
96
104
97
105
const (
98
106
otherfailCategory=iota
107
+
neverTerminates// Test never terminates (so avoid starting it).
99
108
usesUnsupportedPackage// Test fails because it imports an unsupported package, e.g., "unsafe".
100
109
requiresSourceMapSupport// Test fails without source map support (as configured in CI), because it tries to check filename/line number via runtime.Caller.
101
110
compilerPanic
@@ -214,11 +223,6 @@ func main() {
214
223
}
215
224
status:="ok "
216
225
errStr:=""
217
-
if_, isSkip:=test.err.(skipError); isSkip {
218
-
test.err=nil
219
-
errStr="unexpected skip for "+path.Join(test.dir, test.gofile) +": "+errStr
0 commit comments