]> Cypherpunks repositories - gostls13.git/commit
runtime: change exit hooks test to use RaceDetectorSupported
authorThan McIntosh <thanm@google.com>
Tue, 4 Oct 2022 13:43:29 +0000 (09:43 -0400)
committerThan McIntosh <thanm@google.com>
Tue, 4 Oct 2022 18:52:38 +0000 (18:52 +0000)
commit841873f27c4d08d266779a9ef719a7f0d1a0e74d
tree9c7a261eebcd13cbfd34fe7aaa386d6b10ffe135
parentcddf792428be5f750a0be397c7c534870c682e52
runtime: change exit hooks test to use RaceDetectorSupported

Use internal/syssup.RaceDetectorSupported in the exit hooks tests as a
better way to tell if the race detector is available.

Change-Id: I8f43f93319f68b9910f2eea88fc375f7ef3bb2e4
Reviewed-on: https://go-review.googlesource.com/c/go/+/438476
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Than McIntosh <thanm@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/runtime/ehooks_test.go