From: Alberto Donizetti Date: Sat, 29 Dec 2018 12:11:34 +0000 (+0100) Subject: test: disable issue 29329 test when cgo is not enabled X-Git-Tag: go1.12beta2~74 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=efbd01f1dc34a05136244886ed95eea318a8d053;p=gostls13.git 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 Reviewed-by: Brad Fitzpatrick --- diff --git a/test/fixedbugs/issue29329.go b/test/fixedbugs/issue29329.go index 1c2825e3bc..7818bca30a 100644 --- a/test/fixedbugs/issue29329.go +++ b/test/fixedbugs/issue29329.go @@ -1,3 +1,4 @@ +// +build cgo // run -race // Copyright 2018 The Go Authors. All rights reserved.