aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2020-08-01 12:55:47 -0700
committerKeith Randall <khr@golang.org>2020-08-02 00:04:25 +0000
commitf92337422ef2ca27464c198bb3426d2dc4661653 (patch)
treeb1a72f6f7facb5497da418bf7111171ca206a67f
parente49b2308a523c3bb69753caee2eacce41f097039 (diff)
downloadgo-f92337422ef2ca27464c198bb3426d2dc4661653.tar.gz
go-f92337422ef2ca27464c198bb3426d2dc4661653.zip
runtime/race: fix ppc64le build
The .syso test also fails for ppc64le. Not sure why. For now, just disable the test for that architecture. The test really only needs to run on a single builder of any arch. Change-Id: I346cdc01ada09d43c4c504fbc30be806f59d5422 Reviewed-on: https://go-review.googlesource.com/c/go/+/246358 Run-TryBot: Keith Randall <khr@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-rw-r--r--src/runtime/race/syso_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/runtime/race/syso_test.go b/src/runtime/race/syso_test.go
index e959c8d0bd..db846c5d2a 100644
--- a/src/runtime/race/syso_test.go
+++ b/src/runtime/race/syso_test.go
@@ -2,10 +2,10 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// +build !android,!js
+// +build !android,!js,!ppc64le
-// Note: we don't run on Android because if there is any non-race test
-// file in this package, Android tries to link the .syso file into the
+// Note: we don't run on Android or ppc64 because if there is any non-race test
+// file in this package, the OS tries to link the .syso file into the
// test (even when we're not in race mode), which fails. I'm not sure
// why, but easiest to just punt - as long as a single builder runs
// this test, we're good.