mirror of
https://github.com/golang/go
synced 2024-11-23 05:00:07 -07:00
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 <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>
This commit is contained in:
parent
b2c0417c42
commit
03e1870b63
3
src/cmd/dist/test.go
vendored
3
src/cmd/dist/test.go
vendored
@ -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" {
|
||||
|
Loading…
Reference in New Issue
Block a user