]> Cypherpunks repositories - gostls13.git/commitdiff
runtime/race: fix ppc64le build
authorKeith Randall <khr@golang.org>
Sat, 1 Aug 2020 19:55:47 +0000 (12:55 -0700)
committerKeith Randall <khr@golang.org>
Sun, 2 Aug 2020 00:04:25 +0000 (00:04 +0000)
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>
src/runtime/race/syso_test.go

index e959c8d0bd5a2f20afd670c011d20e08a0fc01ab..db846c5d2ad3c4631a3a5f588a4faec96fd2633c 100644 (file)
@@ -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.