}
func TestGoListExport(t *testing.T) {
+ tooSlow(t, "runs build for -export")
+
skipIfGccgo(t, "gccgo does not have standard packages")
tg := testgo(t)
defer tg.cleanup()
)
func TestNoteReading(t *testing.T) {
+ tooSlow(t, "runs build")
+
// cmd/internal/buildid already has tests that the basic reading works.
// This test is essentially checking that -ldflags=-buildid=XXX works,
// both in internal and external linking mode.
+[short] skip 'runs build'
+
# Set GOCACHE to a clean directory to ensure that 'go build' has work to report.
[!GOOS:windows] env GOCACHE=$WORK/gocache
[GOOS:windows] env GOCACHE=$WORK\gocache
+[short] skip 'runs build'
+
[!cgo] skip
# Require that CC is something that requires a PATH lookup.
+[short] skip 'runs go build'
+
# We're testing cache behavior, so start with a clean GOCACHE.
env GOCACHE=$WORK/cache
# This test covers the HTTP authentication mechanism over GOAUTH by using a custom authenticator.
# See golang.org/issue/26232
+[short] skip 'runs build to create authenticators'
+
env GOPROXY=direct
env GOSUMDB=off
mkdir $WORK/bin
+[short] skip 'runs test'
+
go test -v -run Test -skip T skip_test.go
! stdout RUN
stdout '^ok.*\[no tests to run\]'
+[short] skip 'runs test'
+
env GO111MODULE=on
# Issue 35837: "go vet -<analyzer> <std package>" should use the requested
+[short] skip 'runs go run'
+
! go work init doesnotexist
stderr 'go: directory doesnotexist does not exist'
go env GOWORK