diff options
author | Wil Selwood <wselwood@gmail.com> | 2018-08-02 20:29:38 +0100 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2018-10-10 01:02:14 +0000 |
commit | 95d06ab6c982f58b127b14a52c3325acf0bd3926 (patch) | |
tree | 62bc2e294a010cd56eb0d7fbdcebb47a892cdfcf /src/syscall/mmap_unix_test.go | |
parent | 49be65eeba37a3d29a8a33379794e7a84df6cca1 (diff) | |
download | go-git-95d06ab6c982f58b127b14a52c3325acf0bd3926.tar.gz |
testing: try to Log through parent if test has completed
If the test has already completed when a go routine with a panic
handler reports an error the location of the error call is lost.
Added logDepth to be able to log location of failure at different
depths down the stack.
Fixes #26720
Change-Id: I8b7789ddae757ef6f4bd315cb20356709f4fadec
Reviewed-on: https://go-review.googlesource.com/c/127596
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/syscall/mmap_unix_test.go')
0 files changed, 0 insertions, 0 deletions