]> Cypherpunks repositories - gostls13.git/commit
runtime/race: use race build tag on syso_test.go
authorCherry Mui <cherryyz@google.com>
Fri, 25 Jun 2021 19:58:38 +0000 (15:58 -0400)
committerCherry Mui <cherryyz@google.com>
Fri, 25 Jun 2021 21:07:44 +0000 (21:07 +0000)
commited01ceaf4838cd67fd802df481769fa9ae9d0440
tree07beb815ebd430f1990c434f0b10313fb0d5f437
parentd1916e5e843d0341c2d82edf08335ac181c41bd8
runtime/race: use race build tag on syso_test.go

All other test files in the runtime/race package have race build
tag, except syso_test.go. The test is only relevant if the race
detector is supported. So apply the build tag.

Fixes #46931.

Change-Id: Icdb94214d3821b4ccf61133412ef39b4d7cc7691
Reviewed-on: https://go-review.googlesource.com/c/go/+/331050
Trust: Cherry Mui <cherryyz@google.com>
Reviewed-by: Elias Naur <mail@eliasnaur.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
src/runtime/race/syso_test.go