]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/internal/obj: use testenv.Command instead of exec.Command in tests
authorBryan C. Mills <bcmills@google.com>
Tue, 15 Nov 2022 15:14:16 +0000 (10:14 -0500)
committerGopher Robot <gobot@golang.org>
Tue, 15 Nov 2022 20:21:30 +0000 (20:21 +0000)
commit5ccee1199e11b830ae32772d5ebc7b35e356b7f3
treebf800215547a1043057662fe641959f523644502
parent6484e813b5ec80a399ed1b8e4608070db2144b39
cmd/internal/obj: use testenv.Command instead of exec.Command in tests

testenv.Command sets a default timeout based on the test's deadline
and sends SIGQUIT (where supported) in case of a hang.

Change-Id: Ica1a9985f9abb1935434367c9c8ba28fc50f331d
Reviewed-on: https://go-review.googlesource.com/c/go/+/450699
Auto-Submit: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
src/cmd/internal/obj/arm64/asm_arm64_test.go
src/cmd/internal/obj/objfile_test.go
src/cmd/internal/obj/ppc64/asm_test.go
src/cmd/internal/obj/riscv/asm_test.go
src/cmd/internal/obj/x86/obj6_test.go
src/cmd/internal/obj/x86/pcrelative_test.go