mirror of
https://github.com/golang/go
synced 2024-10-06 08:00:07 +00:00
test: disable issue 29329 test when cgo is not enabled
CL 155917 added a -race test that shouldn't be run when cgo is not enabled. Enforce this in the test file, with a buildflag. Fixes the nocgo builder. Change-Id: I9fe0d8f21da4d6e2de3f8fe9395e1fa7e9664b02 Reviewed-on: https://go-review.googlesource.com/c/155957 Run-TryBot: Alberto Donizetti <alb.donizetti@gmail.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
ed15e82413
commit
efbd01f1dc
|
@ -1,3 +1,4 @@
|
|||
// +build cgo
|
||||
// run -race
|
||||
|
||||
// Copyright 2018 The Go Authors. All rights reserved.
|
||||
|
|
Loading…
Reference in a new issue