From: Lynn Boger Date: Wed, 17 Aug 2022 15:04:57 +0000 (-0500) Subject: cmd/dist: enable testsanitizer test on ppc64le X-Git-Tag: go1.20rc1~1552 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=03e1870b635dbfa54b6ee3624c435daf2a6b3b1f;p=gostls13.git cmd/dist: enable testsanitizer test on ppc64le 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 Reviewed-by: Ian Lance Taylor Reviewed-by: Archana Ravindar Reviewed-by: Bryan Mills TryBot-Result: Gopher Robot --- diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go index 1c22568ebd..759377ffa5 100644 --- a/src/cmd/dist/test.go +++ b/src/cmd/dist/test.go @@ -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" {