]> Cypherpunks repositories - gostls13.git/commit
misc/cgo/test: skip test7978 when using unsupported compilers
authorShenghou Ma <minux@golang.org>
Fri, 26 Dec 2014 06:20:29 +0000 (01:20 -0500)
committerMinux Ma <minux@golang.org>
Fri, 6 Feb 2015 05:49:47 +0000 (05:49 +0000)
commit5b806e58e2665ca18439ec89fdc47630eaa8606c
tree9f58adffed13dc38e3748df75065402f9057d539
parenta5bff443c7f23ad5c4abb70d3ce2c59aed2ec13a
misc/cgo/test: skip test7978 when using unsupported compilers

On Darwin/ARM, because libSystem doesn't provide functions for
__sync_fetch_and_add, and only clang can inline that function,
skip the test when building with GCC.

Change-Id: Id5e9d8f9bbe1e6bcb2f381f0f66cf68aa95277c7
Reviewed-on: https://go-review.googlesource.com/2125
Reviewed-by: Ian Lance Taylor <iant@golang.org>
misc/cgo/test/issue7978.go