diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go index 8b1ec458ed8..33fabd35541 100644 --- a/src/cmd/dist/test.go +++ b/src/cmd/dist/test.go @@ -749,8 +749,9 @@ func (t *tester) registerTests() { if gohostos == "linux" && goarch == "amd64" { t.registerTest("testasan", "../misc/cgo/testasan", "go", "run", ".") } - if goos == "linux" { + if goos == "linux" && goarch != "ppc64le" { // because syscall.SysProcAttri 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" {