go/src/internal
Bryan C. Mills e8ec68edfa internal/testenv: remove RunWithTimout
For most tests, the test's deadline itself is more appropriate than an
arbitrary timeout layered atop of it (especially once #48157 is
implemented), and testenv.Command already adds cleaner timeout
behavior when a command would run too close to the test's deadline.

That makes RunWithTimeout something of an attractive nuisance. For
now, migrate the two existing uses of it to testenv.CommandContext,
with a shorter timeout implemented using context.WithTimeout.

As a followup, we may want to drop the extra timeouts from these
invocations entirely.

Updates #50436.
Updates #37405.

Change-Id: I16840fd36c0137b6da87ec54012b3e44661f0d08
Reviewed-on: https://go-review.googlesource.com/c/go/+/445597
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Austin Clements <austin@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-10-31 20:54:10 +00:00
..
abi internal/abi, internal/buildcfg: always enable register ABI on riscv64 2022-10-24 03:45:54 +00:00
buildcfg internal/abi, internal/buildcfg: always enable register ABI on riscv64 2022-10-24 03:45:54 +00:00
buildinternal cmd/go: don't install most GOROOT .a files in pkg 2022-10-28 23:35:08 +00:00
bytealg internal/bytealg: fix bug in index function for ppc64le/power9 2022-10-31 12:52:07 +00:00
cfg
coverage internal/coverage: minor code cleanups 2022-10-11 12:40:42 +00:00
cpu internal/cpu: deduplicate arm64 ISAR parsing code 2022-09-26 16:42:53 +00:00
dag runtime: generate the lock ranking from a DAG description 2022-08-04 15:31:44 +00:00
diff all: gofmt main repo 2022-05-19 15:49:05 +00:00
fmtsort all: remove unnecessary allocations from w.WriteString(fmt.Sprint*(...)) by fmt.Fprint*(w, ...) 2022-09-14 16:11:21 +00:00
fuzz internal/fuzz: write shorter testdata corpus file names 2022-10-17 18:38:43 +00:00
goarch internal/goarch, internal/goos: update generators for syslist.go 2022-06-15 21:31:23 +00:00
godebug internal/godebug: remove dependency on os 2022-10-18 14:49:44 +00:00
goexperiment arena: add experimental arena package 2022-10-12 20:23:36 +00:00
goos runtime: run TestCgoSigfwd on all Unix platforms 2022-10-17 15:15:36 +00:00
goroot go,cmd,internal: update to anticipate missing targets and .a files 2022-10-18 20:41:45 +00:00
goversion internal/goversion: update Version to 1.20 2022-08-02 18:07:14 +00:00
intern
itoa
lazyregexp
lazytemplate
nettrace
obscuretestdata
oserror
pkgbits cmd/compile: make a type-specialized copy of encoding/binary.ReadUvarint 2022-09-27 20:58:46 +00:00
platform cmd/go: enable -msan on freebsd/amd64 2022-10-14 12:48:27 +00:00
poll os: use poll.fdMutex for Plan 9 files 2022-10-08 03:57:40 +00:00
profile cmd/compile: Enables PGO in Go and performs profile-guided inlining 2022-10-28 14:23:26 +00:00
race
reflectlite cmd/compile,runtime,reflect: move embedded bit from offset to name 2022-06-14 23:22:11 +00:00
saferio internal/saferio: handle potential total size overflow in SliceCap 2022-09-26 20:36:02 +00:00
singleflight internal/singleflight: avoid race between multiple Do calls 2022-09-30 20:49:56 +00:00
syscall internal/poll, internal/syscall/unix, syscall: move writev definition for solaris 2022-10-07 16:48:38 +00:00
sysinfo
testenv internal/testenv: remove RunWithTimout 2022-10-31 20:54:10 +00:00
testlog
trace runtime/trace: add missing events for the locked g in extra M. 2022-09-27 16:37:51 +00:00
txtar all: replace package ioutil with os and io in src 2022-09-20 02:13:02 +00:00
types go/types, types2: use correct shift value when typechecking constant shift 2022-10-26 14:34:44 +00:00
unsafeheader
xcoff internal/xcoff: better handling of malformed symbol tables 2022-08-22 15:41:53 +00:00