]> Cypherpunks repositories - gostls13.git/commit
cmd/cgo: enable test with non-sensible build tag
authorAustin Clements <austin@google.com>
Mon, 8 May 2023 15:52:48 +0000 (11:52 -0400)
committerAustin Clements <austin@google.com>
Mon, 15 May 2023 15:42:13 +0000 (15:42 +0000)
commite9f1bb96bd4d9ddb1e77054dfc9d7b8ea4ca7fd6
treeeccc97e1211817f11b3ac74a61b4886d961e2191
parent974236bda9b9aad87b4b10ec9af2cc01b14e382f
cmd/cgo: enable test with non-sensible build tag

The build tag on this file is currently unsatisfiable. It was clearly
supposed to be "linux || freebsd || openbsd", but the test doesn't
actually compile on FreeBSD or OpenBSD because they don't define
SYS_gettid. Change the build tag to just "linux".

Change-Id: Ifaffac5438e1b94a8588b5a00435461aa171a6fc
Reviewed-on: https://go-review.googlesource.com/c/go/+/493603
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/cgo/internal/test/cgo_thread_lock.go