aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2017-08-04 15:33:48 -0700
committerIan Lance Taylor <iant@golang.org>2017-08-04 23:05:00 +0000
commitb01db023b13f9debdcc101ab6836b89be8bfa7f3 (patch)
tree6c207d08ae01734950247816da2745c2b90476d2
parenta279b53a18dbe317180e9e411ca7892294a62901 (diff)
downloadgo-b01db023b13f9debdcc101ab6836b89be8bfa7f3.tar.gz
go-b01db023b13f9debdcc101ab6836b89be8bfa7f3.zip
misc/cgo/testsanitizers: also skip tsan11/tsan12 when using GCC
Updates #21196 Change-Id: I307cacc963448b90a23f633bec15498ba7bf1937 Reviewed-on: https://go-review.googlesource.com/53356 Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Bryan Mills <bcmills@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
-rwxr-xr-xmisc/cgo/testsanitizers/test.bash7
1 files changed, 3 insertions, 4 deletions
diff --git a/misc/cgo/testsanitizers/test.bash b/misc/cgo/testsanitizers/test.bash
index 218af396a7..9f80af6c50 100755
--- a/misc/cgo/testsanitizers/test.bash
+++ b/misc/cgo/testsanitizers/test.bash
@@ -219,14 +219,13 @@ if test "$tsan" = "yes"; then
testtsan tsan6.go "CGO_CFLAGS=-fsanitize=thread CGO_LDFLAGS=-fsanitize=thread" "-installsuffix=tsan"
testtsan tsan7.go "CGO_CFLAGS=-fsanitize=thread CGO_LDFLAGS=-fsanitize=thread" "-installsuffix=tsan"
- # tsan10 reportedly hangs when built with GCC: issue #21196.
+ # The remaining tests reportedly hang when built with GCC; issue #21196.
if test "$clang" = "true"; then
testtsan tsan10.go "CGO_CFLAGS=-fsanitize=thread CGO_LDFLAGS=-fsanitize=thread" "-installsuffix=tsan"
+ testtsan tsan11.go "CGO_CFLAGS=-fsanitize=thread CGO_LDFLAGS=-fsanitize=thread" "-installsuffix=tsan"
+ testtsan tsan12.go "CGO_CFLAGS=-fsanitize=thread CGO_LDFLAGS=-fsanitize=thread" "-installsuffix=tsan"
fi
- testtsan tsan11.go "CGO_CFLAGS=-fsanitize=thread CGO_LDFLAGS=-fsanitize=thread" "-installsuffix=tsan"
- testtsan tsan12.go "CGO_CFLAGS=-fsanitize=thread CGO_LDFLAGS=-fsanitize=thread" "-installsuffix=tsan"
-
testtsanshared
fi
fi