]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/dist: enable testsanitizer test on ppc64le
authorLynn Boger <laboger@linux.vnet.ibm.com>
Wed, 17 Aug 2022 15:04:57 +0000 (10:04 -0500)
committerLynn Boger <laboger@linux.vnet.ibm.com>
Thu, 18 Aug 2022 17:01:12 +0000 (17:01 +0000)
Even though the -race option works for ppc64le, some of the
testsanitizer test have failed in the past on our builders. These
same failures can't be reproduced on other systems.

This is an experiment to re-enable this test on ppc64le to see if
it still fails on the builders.

Updates #45040

Change-Id: I0729bec5864e6c4cc752968485e89179df027063
Reviewed-on: https://go-review.googlesource.com/c/go/+/424534
Run-TryBot: Lynn Boger <laboger@linux.vnet.ibm.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Archana Ravindar <aravind5@in.ibm.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>

src/cmd/dist/test.go

index 1c22568ebdf703f58b0b92da2c925490f515423b..759377ffa54568556485ab16e32c18dfe27529b2 100644 (file)
@@ -839,9 +839,8 @@ func (t *tester) registerTests() {
                if gohostos == "linux" && goarch == "amd64" {
                        t.registerTest("testasan", "../misc/cgo/testasan", "go", "run", ".")
                }
-               if goos == "linux" && goarch != "ppc64le" {
+               if goos == "linux" {
                        // because syscall.SysProcAttr struct used in misc/cgo/testsanitizers is only built on linux.
-                       // Some inconsistent failures happen on ppc64le so disable for now.
                        t.registerHostTest("testsanitizers", "../misc/cgo/testsanitizers", "misc/cgo/testsanitizers", ".")
                }
                if t.hasBash() && goos != "android" && !t.iOS() && gohostos != "windows" {