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
tests: Triage new Go repository tests added/modified in Go 1.8.
There were 3 failing tests.
One was a modified old test that wasn't previously run due to a build
constraint (that has been removed in 1.8). It fails due to a compiler
bug, see #551 that tracks it.
Two were new tests that use unsupported packages/funcs (such as "unsafe",
runtime.FuncForPC, runtime.Callers) and failed as a result.
"fixedbugs/issue14646.go": {category: unsureIfGopherJSSupportsThisFeature, desc: "it tests runtime.Caller behavior in a deferred func in SSA backend... does GopherJS even support runtime.Caller?"},
85
+
"fixedbugs/issue14646.go": {category: unsureIfGopherJSSupportsThisFeature, desc: "tests runtime.Caller behavior in a deferred func in SSA backend... does GopherJS even support runtime.Caller?"},
85
86
"fixedbugs/issue15039.go": {category: validButDealWithAfterGo17SinceNew, desc: "valid bug but deal with after Go 1.7 support is out? it's likely not a regression"},
86
87
"fixedbugs/issue15281.go": {category: validButDealWithAfterGo17SinceNew, desc: "also looks valid but deal with after Go 1.7 support is out? it's likely not a regression"},
87
88
"fixedbugs/issue15975.go": {category: validButDealWithAfterGo17SinceNew, desc: "also looks valid but deal with after Go 1.7 support is out?"},
89
+
90
+
// These are new tests in Go 1.8.
91
+
"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.
92
+
"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}?"},
88
93
}
89
94
90
95
typefailCategoryuint8
91
96
92
97
const (
93
-
otherfailCategory=iota
98
+
otherfailCategory=iota
99
+
usesUnsupportedPackage// Test fails because it imports an unsupported package, e.g., "unsafe".
94
100
compilerPanic
95
101
unsureIfGopherJSSupportsThisFeature
96
102
validButDealWithAfterGo17SinceNew// TODO: After Go 1.7 support is out, this category should be re-triaged and removed.
0 commit comments