From 03e1870b635dbfa54b6ee3624c435daf2a6b3b1f Mon Sep 17 00:00:00 2001 From: Lynn Boger Date: Wed, 17 Aug 2022 10:04:57 -0500 Subject: [PATCH] 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 --- src/cmd/dist/test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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" { -- 2.50.0