]> Cypherpunks repositories - gostls13.git/commitdiff
test: disable test for #36516 when cgo is not enabled
authorTobias Klauser <tklauser@distanz.ch>
Sun, 19 Jan 2020 19:05:15 +0000 (20:05 +0100)
committerTobias Klauser <tobias.klauser@gmail.com>
Sun, 19 Jan 2020 20:36:10 +0000 (20:36 +0000)
CL 214679 added a -race test which shouldn't be run when cgo is not
enabled.

Fixes the nocgo builder.

Change-Id: Iceddf802c4ef6c0de2c3a968e86342303d2d27d8
Reviewed-on: https://go-review.googlesource.com/c/go/+/215477
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>

test/fixedbugs/issue36516.go

index 1472d4c2222476764834edab26726fb7d4d77099..d4e28b636d5b4d7dd83420092e21da4098f1dd9e 100644 (file)
@@ -1,4 +1,4 @@
-// +build linux,amd64
+// +build cgo,linux,amd64
 // run -race
 
 // Copyright 2020 The Go Authors. All rights reserved.