]> Cypherpunks repositories - gostls13.git/commitdiff
misc/cgo/testsanitizers: also skip tsan11/tsan12 when using GCC
authorIan Lance Taylor <iant@golang.org>
Fri, 4 Aug 2017 22:33:48 +0000 (15:33 -0700)
committerIan Lance Taylor <iant@golang.org>
Fri, 4 Aug 2017 23:05:00 +0000 (23:05 +0000)
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>

misc/cgo/testsanitizers/test.bash

index 218af396a7887be4d7daf23f90b84dd0598be0ea..9f80af6c507557be2eefecb0edb28a343311b2bb 100755 (executable)
@@ -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