diff options
Diffstat (limited to 'libgo/go/math/big/gcd_test.go')
-rw-r--r-- | libgo/go/math/big/gcd_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libgo/go/math/big/gcd_test.go b/libgo/go/math/big/gcd_test.go index a929bf5..3cca2ec 100644 --- a/libgo/go/math/big/gcd_test.go +++ b/libgo/go/math/big/gcd_test.go @@ -20,6 +20,9 @@ func randInt(r *rand.Rand, size uint) *Int { } func runGCD(b *testing.B, aSize, bSize uint) { + if isRaceBuilder && (aSize > 1000 || bSize > 1000) { + b.Skip("skipping on race builder") + } b.Run("WithoutXY", func(b *testing.B) { runGCDExt(b, aSize, bSize, false) }) |