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>
import (
"fmt"
- "internal/testenv"
"regexp"
"runtime"
"strings"
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)
- }
-}