Skip to content

cmd/dist: dist vet tests get incorrect platform names #19958

Description

@williamweixiao

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

go version devel +8a2cc22 Wed Apr 12 23:33:11 2017 +0000 linux/amd64

What operating system and processor architecture are you using (go env)?

GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/weixia01/go"
GORACE=""
GOROOT="/home/weixia01/workspace/golang/internal"
GOTOOLDIR="/home/weixia01/workspace/golang/internal/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build757339427=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"

What did you do?

$ export GO_BUILDER_NAME="*-vetall"
$ go tool dist test -run arm64$

What did you expect to see?

go vet std cmd

go run main.go -p darwin/arm64
go run main.go -p android/arm64
go run main.go -p linux/arm64

ALL TESTS PASSED (some were excluded)

go vet std cmd

go run main.go -p darwin/arm64
go run main.go -p android/arm64
go run main.go -p linux/arm64

ALL TESTS PASSED (some were excluded)

What did you see instead?

go vet std cmd

go run main.go -p darwin/386
go run main.go -p darwin/386
go run main.go -p darwin/386

ALL TESTS PASSED (some were excluded)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions