1
0
mirror of https://github.com/golang/go synced 2024-11-18 14:54:40 -07:00

go/ssa: disable recover2 testcase

We still haven't figured out what's going on, but this is a low
priority because the SSA interpreter isn't used by anyone.
The primary concern is that this might be covering a legitimate
underlying SSA bug.

Updates golang/go#34089

Change-Id: I2886845b4f4b011104de945d04d6b8c4c436cbe9
Reviewed-on: https://go-review.googlesource.com/c/tools/+/220957
Run-TryBot: Michael Matloob <matloob@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
This commit is contained in:
Michael Matloob 2020-02-25 14:50:01 -05:00
parent fefc8d1877
commit 12e620e8d6

View File

@ -125,10 +125,10 @@ var testdataTests = []string{
}
func run(t *testing.T, input string) bool {
// The recover2 test case is broken when run against tip. See golang/go#34089.
// TODO(matloob): Figure out what's going on or fix this before go1.14 is released.
if filepath.Base(input) == "recover2.go" && strings.HasPrefix(runtime.Version(), "devel") {
t.Skip("The recover2.go test is broken in tip. See golang.org/issue/34089.")
// The recover2 test case is broken on Go 1.14+. See golang/go#34089.
// TODO(matloob): Fix this.
if filepath.Base(input) == "recover2.go" {
t.Skip("The recover2.go test is broken in go1.14+. See golang.org/issue/34089.")
}
t.Logf("Input: %s\n", input)