]> Cypherpunks repositories - gostls13.git/commit
testing: show in-progress tests upon SIGINT
authorMeir Fischer <meirfischer@gmail.com>
Sun, 4 Jun 2017 04:29:40 +0000 (00:29 -0400)
committerIan Lance Taylor <iant@golang.org>
Fri, 9 Jun 2017 04:38:37 +0000 (04:38 +0000)
commit11c61eb6afaf72c4919cc7806f1016c8bcdf311a
treef0200b248d7a17759c9e94ea552df85fdb9ad507
parent760636d55a87fe7348e9e14ef1474df2a58439de
testing: show in-progress tests upon SIGINT

Because of parallel tests, which have stalled executions, the RUN
output of a test can be much earlier than its completion output resulting
in hard-to-read verbose output.

The tests are displayed in the order in which the output shows
that they began, to make it easy to line up with the "RUN" output.
Similarly, the definitions of when tests begin and complete is
determined by when RUN and FAIL/SKIP/PASS are output since the
focus of this code is on enhancing readability.

Fixes #19397

Change-Id: I4d0ca3fd268b620484e7a190117f79a33b3dc461
Reviewed-on: https://go-review.googlesource.com/44352
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/go/go_test.go
src/cmd/go/testdata/inprogress_interrupt_test.go [new file with mode: 0644]
src/go/build/deps_test.go
src/os/signal/signal_plan9_test.go
src/os/signal/signal_test.go
src/os/signal/signal_windows_test.go
src/testing/testing.go