mirror of
https://github.com/golang/go
synced 2024-11-06 10:36:13 -07:00
1f9f88b95e
Regression tests for #24161 use a macro to conditionally compile some stub definitions. The macro tests that the minimum macOS version is less than 10.12. We get duplicate definitions when building this test with CGO_CFLAGS=-mmacosx-version-min=10.x where 10.x < 10.12. With this change, we use a different macro, __MAC_OS_X_VERSION_MAX_ALLOWED__, which tests the SDK version instead of the minimum macOS version. This checks whether these definitions are present in headers. After this change, 'go tool dist test cgo_test' should pass with CGO_FLAGS=-mmacosx-version-min=10.10. Updates #35459 Change-Id: I88d63601c94b0369c73c38d216a2d41ba7d4e579 Reviewed-on: https://go-review.googlesource.com/c/go/+/216243 Run-TryBot: Jay Conrod <jayconrod@google.com> Reviewed-by: Keith Randall <khr@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> |
||
---|---|---|
.. | ||
gcc68255 | ||
issue8756 | ||
issue8828 | ||
issue9026 | ||
issue9400 | ||
issue9510a | ||
issue9510b | ||
issue20266 | ||
issue23555a | ||
issue23555b | ||
issue24161arg | ||
issue24161e0 | ||
issue24161e1 | ||
issue24161e2 | ||
issue24161res | ||
issue26213 | ||
issue26430 | ||
issue26743 | ||
issue27054 | ||
issue27340 | ||
issue29563 | ||
issue30527 | ||
cgo_linux_test.go | ||
cgo_test.go | ||
gcc68255.go | ||
issue8756.go | ||
issue8828.go | ||
issue9026.go | ||
issue9400_linux.go | ||
issue9510.go | ||
issue20266.go | ||
issue23555.go | ||
issue24161_darwin_test.go | ||
issue26430.go | ||
issue26743.go | ||
issue27340.go | ||
issue29563.go | ||
issue30527.go | ||
test26213.go |