]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: delete TestDebugLogBuild
authorAustin Clements <austin@google.com>
Tue, 23 Jul 2024 21:54:34 +0000 (17:54 -0400)
committerAustin Clements <austin@google.com>
Tue, 30 Jul 2024 13:11:02 +0000 (13:11 +0000)
Now that we're actually testing debuglog in the regular build
configuration, it's far less important that we take the time to
rebuild with the debuglog tag.

Change-Id: I62bfd494ccb99087f35851c4476238b39ef40dec
Reviewed-on: https://go-review.googlesource.com/c/go/+/600698
Reviewed-by: Carlos Amedee <carlos@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>

src/runtime/debuglog_test.go

index 6d484c462b99d1d7014902f499bb3e6155a7ac51..0f91398cddcb94d20eaf8caade1f5a59d2b84c65 100644 (file)
@@ -24,7 +24,6 @@ package runtime_test
 
 import (
        "fmt"
-       "internal/testenv"
        "regexp"
        "runtime"
        "strings"
@@ -156,14 +155,3 @@ func TestDebugLogLongString(t *testing.T) {
                t.Fatalf("want %q, got %q", want, got)
        }
 }
-
-// TestDebugLogBuild verifies that the runtime builds with -tags=debuglog.
-func TestDebugLogBuild(t *testing.T) {
-       testenv.MustHaveGoBuild(t)
-
-       // It doesn't matter which program we build, anything will rebuild the
-       // runtime.
-       if _, err := buildTestProg(t, "testprog", "-tags=debuglog"); err != nil {
-               t.Fatal(err)
-       }
-}