]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/dist: remove tests using the typeparams build tag
authorRobert Findley <rfindley@google.com>
Sat, 14 Aug 2021 04:03:09 +0000 (00:03 -0400)
committerRobert Findley <rfindley@google.com>
Sat, 14 Aug 2021 22:44:35 +0000 (22:44 +0000)
This stanza is no longer necessary now that the typeparams build tag is
not used.

Change-Id: I7bcc4a01e354e5130d50b00895a5b96c25c71502
Reviewed-on: https://go-review.googlesource.com/c/go/+/342153
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/cmd/dist/test.go

index f40fa926dfd398b2c8adf239122358ef49e358cc..a104b5c8f3185ff1214f8f96562b16254ca8f5ba 100644 (file)
@@ -491,19 +491,6 @@ func (t *tester) registerTests() {
                })
        }
 
-       // Test go/... cmd/gofmt with type parameters enabled.
-       if !t.compileOnly {
-               t.tests = append(t.tests, distTest{
-                       name:    "tyepparams",
-                       heading: "go/... and cmd/gofmt tests with tag typeparams",
-                       fn: func(dt *distTest) error {
-                               t.addCmd(dt, "src", t.goTest(), t.timeout(300), "-tags=typeparams", "go/...")
-                               t.addCmd(dt, "src", t.goTest(), t.timeout(300), "-tags=typeparams", "cmd/gofmt")
-                               return nil
-                       },
-               })
-       }
-
        if t.iOS() && !t.compileOnly {
                t.tests = append(t.tests, distTest{
                        name:    "x509omitbundledroots",