]> Cypherpunks repositories - gostls13.git/commit
[dev.typeparams] test: add expected failure mechanism
authorMatthew Dempsky <mdempsky@google.com>
Fri, 2 Jul 2021 20:18:03 +0000 (13:18 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Wed, 7 Jul 2021 11:12:13 +0000 (11:12 +0000)
commit49ade6b298c269e6d405d43a2e42dec218e97660
treea3f171b735e3403ddece5db2fe3b8f7da8f4df20
parentcd00499c6125692d704ac8a04b07825ee1648207
[dev.typeparams] test: add expected failure mechanism

This CL changes the existing excluded-test mechanism into a
known-failure mechanism instead. That is, it runs the test regardless,
but only reports if it failed (or succeeded) unexpectedly.

It also splits the known failures list into fine-grain failure lists
for types2, types2 w/ 32-bit target, -G=3, and unified.

Updates #46704.

Change-Id: I1213cbccf1bab6a92d9bfcf0d971a2554249bbff
Reviewed-on: https://go-review.googlesource.com/c/go/+/332551
Trust: Matthew Dempsky <mdempsky@google.com>
Trust: Dan Scales <danscales@google.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dan Scales <danscales@google.com>
Reviewed-by: Robert Griesemer <gri@golang.org>
test/run.go
test/typeparam/nested.go