What version of Go are you using (go version)?
go version go1.11.4 windows/amd64
Does this issue reproduce with the latest release? Yes, on tip
>go tool dist version
devel +c482e0cd38 Sun Dec 23 14:07:55 2018 +0100
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\***\AppData\Local\go-build
set GOEXE=.exe
set GOFLAGS=-v -vet=off
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=C:\Users\***\Documents\Google\
set GOPROXY=
set GORACE=
set GOROOT=C:\Users\***\Documents\Google\golang\go
set GOTMPDIR=
set GOTOOLDIR=C:\Users\***\Documents\Google\golang\go\pkg\tool\windows_amd64
set GCCGO=gccgo
set CC=gcc
set CXX=g++
set CGO_ENABLED=0
set GOMOD=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\***\AppData\Local\Temp\go-build911439174=/tmp/go-build -gno-record-gcc-switches
What did you do?
C:\Program Files (x86)\Google\Cloud SDK>go tool dist test -run=^TestScript:cmd/go$
What did you expect to see?
C:\Program Files (x86)\Google\Cloud SDK>go tool dist test -run=^cmd/go$
##### Testing packages.
...(some tests executed)
ALL TESTS PASSED (some were excluded)
What did you see instead?
No test is executed.
C:\Program Files (x86)\Google\Cloud SDK>go tool dist test -run=^TestScript:cmd/go$
ALL TESTS PASSED (some were excluded)
This is especially a problem to test cmd/go package.
Running the tests of cmd/go times out even in short mode (#25300).
Further, In short mode, no external network is usable and no test of f.i. of git is doable (#26837).
The fix handles the regex in the format testname:package-name as an added case.
What version of Go are you using (
go version)?Does this issue reproduce with the latest release? Yes, on tip
What operating system and processor architecture are you using (
go env)?go envOutputWhat did you do?
C:\Program Files (x86)\Google\Cloud SDK>go tool dist test -run=^TestScript:cmd/go$What did you expect to see?
What did you see instead?
No test is executed.
This is especially a problem to test
cmd/gopackage.Running the tests of cmd/go times out even in short mode (#25300).
Further, In short mode, no external network is usable and no test of f.i. of git is doable (#26837).
The fix handles the regex in the format testname:package-name as an added case.