Skip the test on targets which don't support the race detector. This
fixes the linux-386-longtest builder after CL 376554.
Updates #50488
Change-Id: I08bf6f72cc0731761d49121eb7cfaa8b53906d37
Reviewed-on: https://go-review.googlesource.com/c/go/+/377634
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Katie Hockman <katie@golang.org>
Trust: Katie Hockman <katie@golang.org>
Run-TryBot: Katie Hockman <katie@golang.org>
[short] skip
[!fuzz] skip
+[!race] skip
-# Test with coverage instrumentation enbaled (-fuzz) and race instrumentation
+# Test with coverage instrumentation enabled (-fuzz) and race instrumentation
# but without actually fuzzing the target (by using a non-matching pattern)
go test -fuzz=xxx -race -v
! stderr 'race detected during execution of test'
f.Fuzz(func(t *testing.T, i int) {
t.Parallel()
})
-}
\ No newline at end of file
+}