diff options
| author | fraenkel <michael.fraenkel@gmail.com> | 2018-03-15 22:37:01 -0400 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2018-04-17 04:02:53 +0000 |
| commit | d0925228d7171eb074902a53249bccfbda51abea (patch) | |
| tree | 619478c38f2d7647eb53d0b2807b360e66cd0fa0 /src/os/exec | |
| parent | 6d5ebc70225aeb71a60061e5cf755c5852ac13da (diff) | |
| download | go-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')
0 files changed, 0 insertions, 0 deletions
