diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2020-01-19 20:05:15 +0100 |
---|---|---|
committer | Tobias Klauser <tobias.klauser@gmail.com> | 2020-01-19 20:36:10 +0000 |
commit | df2999ef43ea49ce1578137017949c0ee660608a (patch) | |
tree | 833530e6a13e8dd4bfb0dcdd4ee3b5d71b5a9f05 /test | |
parent | 02816a2cad23a9399a6ad18033db0586c110de70 (diff) | |
download | go-git-df2999ef43ea49ce1578137017949c0ee660608a.tar.gz |
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>
Diffstat (limited to 'test')
-rw-r--r-- | test/fixedbugs/issue36516.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fixedbugs/issue36516.go b/test/fixedbugs/issue36516.go index 1472d4c222..d4e28b636d 100644 --- a/test/fixedbugs/issue36516.go +++ b/test/fixedbugs/issue36516.go @@ -1,4 +1,4 @@ -// +build linux,amd64 +// +build cgo,linux,amd64 // run -race // Copyright 2020 The Go Authors. All rights reserved. |