diff options
author | Matthew Dempsky <mdempsky@google.com> | 2021-07-02 13:18:03 -0700 |
---|---|---|
committer | Matthew Dempsky <mdempsky@google.com> | 2021-07-07 11:12:13 +0000 |
commit | 49ade6b298c269e6d405d43a2e42dec218e97660 (patch) | |
tree | a3f171b735e3403ddece5db2fe3b8f7da8f4df20 /test/typeparam | |
parent | cd00499c6125692d704ac8a04b07825ee1648207 (diff) | |
download | go-49ade6b298c269e6d405d43a2e42dec218e97660.tar.gz go-49ade6b298c269e6d405d43a2e42dec218e97660.zip |
[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>
Diffstat (limited to 'test/typeparam')
-rw-r--r-- | test/typeparam/nested.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/typeparam/nested.go b/test/typeparam/nested.go index 6512b3fc8f..c0037a3e6e 100644 --- a/test/typeparam/nested.go +++ b/test/typeparam/nested.go @@ -1,4 +1,4 @@ -// run -gcflags=all="-d=unified -G" +// run -gcflags=-G=3 // Copyright 2021 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style |