aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/dist
diff options
context:
space:
mode:
authorCherry Mui <cherryyz@google.com>2022-06-09 17:30:05 -0400
committerCherry Mui <cherryyz@google.com>2022-06-10 20:39:12 +0000
commitfb75c2da91b9cccf05ec6baad2636325c5d96751 (patch)
treef38fa53dae2c26594d16b109046d68f4dfbc38f8 /src/cmd/dist
parent386245b68ef4a24450a12d4f85d1835779dfef86 (diff)
downloadgo-fb75c2da91b9cccf05ec6baad2636325c5d96751.tar.xz
cmd/dist, cmd/internal/metadata: don't install metadata binary
It is only needed by cmd/dist, no need to build and install the binary. Change-Id: I6aba6b81496406077a0efba255c35020cff9d351 Reviewed-on: https://go-review.googlesource.com/c/go/+/411534 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Michael Pratt <mpratt@google.com> Run-TryBot: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/cmd/dist')
-rw-r--r--src/cmd/dist/test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go
index 677be336ac..26d7fe0f73 100644
--- a/src/cmd/dist/test.go
+++ b/src/cmd/dist/test.go
@@ -290,7 +290,7 @@ func (t *tester) maybeLogMetadata() error {
//
// TODO(prattmic): If we split dist bootstrap and dist test then this
// could be simplified to directly use internal/sysinfo here.
- return t.dirCmd(filepath.Join(goroot, "src/cmd/internal/metadata"), "go", []string{"run", "."}).Run()
+ return t.dirCmd(filepath.Join(goroot, "src/cmd/internal/metadata"), "go", []string{"run", "main.go"}).Run()
}
// short returns a -short flag value to use with 'go test'