aboutsummaryrefslogtreecommitdiff
path: root/src/os/exec/exec_test.go
diff options
context:
space:
mode:
authorfraenkel <michael.fraenkel@gmail.com>2018-03-15 22:37:01 -0400
committerIan Lance Taylor <iant@golang.org>2018-04-17 04:02:53 +0000
commitd0925228d7171eb074902a53249bccfbda51abea (patch)
tree619478c38f2d7647eb53d0b2807b360e66cd0fa0 /src/os/exec/exec_test.go
parent6d5ebc70225aeb71a60061e5cf755c5852ac13da (diff)
downloadgo-d0925228d7171eb074902a53249bccfbda51abea.tar.xz
testing: failfast fails fast when Fatal called
When a test calls t.Fatal()/t.Fatalf(), only deferred code will execute. Increment the failure count as part of a deferred call. Fixes #24412 Change-Id: Ibb154015fcd3d0fb7739718fdda8c9ad22f9e896 Reviewed-on: https://go-review.googlesource.com/101035 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/os/exec/exec_test.go')
0 files changed, 0 insertions, 0 deletions