Skip to content

Commit 1c9f002

Browse files
findleyrgopherbot
authored andcommitted
internal/gocommand: add openbsd to the set of GOOS to debug
We encountered a hanging go command on openbsd, which unfortunately did not have logic to SIGQUIT. Add openbsd to the special set of GOOS in handleHandingGoCommand. Updates golang/go#54461 Change-Id: I36e32559f23a3ace28a1088a1f910642eb0074ec Reviewed-on: https://go-review.googlesource.com/c/tools/+/644016 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Alan Donovan <[email protected]> Auto-Submit: Robert Findley <[email protected]>
1 parent f055343 commit 1c9f002

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/gocommand/invoke.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ func runCmdContext(ctx context.Context, cmd *exec.Cmd) (err error) {
426426
// cause of a hanging Go command, and then exits with log.Fatalf.
427427
func handleHangingGoCommand(start time.Time, cmd *exec.Cmd, resChan chan error) {
428428
switch runtime.GOOS {
429-
case "linux", "darwin", "freebsd", "netbsd":
429+
case "linux", "darwin", "freebsd", "netbsd", "openbsd":
430430
fmt.Fprintln(os.Stderr, `DETECTED A HANGING GO COMMAND
431431
432432
The gopls test runner has detected a hanging go command. In order to debug

0 commit comments

Comments
 (0)