test: disable test for #36516 when cgo is not enabled

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>
This commit is contained in:
Tobias Klauser 2020-01-19 20:05:15 +01:00 committed by Tobias Klauser
parent 02816a2cad
commit df2999ef43

View file

@ -1,4 +1,4 @@
// +build linux,amd64
// +build cgo,linux,amd64
// run -race
// Copyright 2020 The Go Authors. All rights reserved.