go/src/cmd
Heschi Kreinick 4526fa790e cmd/go: fix tests for new builder environment
Fix two long tests that fail in the builders we're trying out:

- TestQueryImport was failing with:
  open /nonexist-gopath/pkg/sumdb/sum.golang.org/latest: no such file or directory
  which eventually turns out to be because it couldn't create
  /nonexist-gopath because it wasn't running as root. The test already
  uses a temporary GOPATH, but missed overriding a configuration
  variable set at init time.
- test_flags fails if the working directory has /x/ in it, which it now
  happens to.

Change-Id: Ideef0f318157b42987539e3a20f9fba6a3d3bdd0
Reviewed-on: https://go-review.googlesource.com/c/go/+/480255
Run-TryBot: Heschi Kreinick <heschi@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-04-06 17:53:14 +00:00
..
addr2line cmd/addr2line: use the test binary as 'addr2line' instead of rebuilding it twice 2022-11-15 20:27:54 +00:00
api cmd/api: add API checks for freebsd/riscv64 2023-02-17 21:23:32 +00:00
asm cmd/internal/obj/loong64: assemble BEQ/BNEs comparing with 0 as beqz/bnez 2023-03-31 02:56:19 +00:00
buildid cmd/buildid: reject rewriting legacy buildids 2022-06-06 14:30:53 +00:00
cgo cmd/cgo: walk {FuncType,TypeSpec}.TypeParams fields 2022-11-30 21:45:10 +00:00
compile cmd/compile: modify debug-hash to support match exclusion 2023-04-06 14:04:33 +00:00
covdata all: replace fmt.Sprintf("%d") with strconv.Itoa 2023-03-31 18:41:24 +00:00
cover cmd/cover: add newline to fix -covermode=atomic build error 2023-02-08 18:28:28 +00:00
dist cmd/dist: skip static linking tests for linux boringcrypto 2023-04-05 00:47:58 +00:00
doc cmd/go: add -C flag 2022-11-03 12:16:35 +00:00
fix cmd/fix: allow cgo commands in tests to fail if 'go build' is not supported 2022-11-17 02:37:07 +00:00
go cmd/go: fix tests for new builder environment 2023-04-06 17:53:14 +00:00
gofmt cmd/gofmt: set backup file permissions on Windows 2023-03-31 22:38:04 +00:00
internal cmd/internal/obj: generate SEH aux symbols for windows/amd64 2023-04-05 19:44:37 +00:00
link cmd/internal/obj: generate SEH aux symbols for windows/amd64 2023-04-05 19:44:37 +00:00
nm internal/platform: pass race mode to DefaultPIE 2023-03-20 23:32:34 +00:00
objdump cmd/objdump: unskip TestDisasmExtld on Windows 2023-03-31 21:48:16 +00:00
pack all: skip tests that fail on android/arm64 2023-03-10 20:38:29 +00:00
pprof internal/platform: add a function to report whether default builds are PIE 2023-03-15 13:31:05 +00:00
test2json cmd/go: print test2json start events 2022-11-09 17:33:07 +00:00
trace cmd/trace: fix error message for bad goroutine state transition 2023-02-10 21:45:16 +00:00
vendor vendor, cmd/vendor: update standard library dependencies 2023-02-10 18:59:52 +00:00
vet cmd/vet: add directive analyzer 2023-01-30 19:25:52 +00:00
README.vendor
go.mod vendor, cmd/vendor: update standard library dependencies 2023-02-10 18:59:52 +00:00
go.sum vendor, cmd/vendor: update standard library dependencies 2023-02-10 18:59:52 +00:00

README.vendor

See src/README.vendor for information on loading vendored packages
and updating the vendor directory.