]> Cypherpunks repositories - gostls13.git/commit
testing: add -failfast to go test
authorInanc Gumus <m@inanc.io>
Mon, 30 Oct 2017 19:41:14 +0000 (22:41 +0300)
committerRuss Cox <rsc@golang.org>
Wed, 29 Nov 2017 16:20:49 +0000 (16:20 +0000)
commit153e4096a8a52dac3b6da55b8644cda5ba6d0074
tree9f2f82e19b2c86e88fa5addaf37eb173d7edd057
parent4a483ce2ab493aaffc37bfb414de93d0622662fd
testing: add -failfast to go test

When -test.failfast flag is provided to go test,
no new tests get started after the first failure.

Fixes #21700

Change-Id: I0092e72f25847af05e7c8e1b811dcbb65a00cbe7
Reviewed-on: https://go-review.googlesource.com/74450
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/go/alldocs.go
src/cmd/go/go_test.go
src/cmd/go/internal/test/test.go
src/cmd/go/internal/test/testflag.go
src/cmd/go/testdata/src/failfast_test.go [new file with mode: 0644]
src/testing/testing.go