]> Cypherpunks repositories - gostls13.git/commit
runtime/race: reject runtime fatal error in tests
authorCherry Zhang <cherryyz@google.com>
Sat, 14 Nov 2020 19:29:31 +0000 (14:29 -0500)
committerCherry Zhang <cherryyz@google.com>
Mon, 16 Nov 2020 17:27:26 +0000 (17:27 +0000)
commitd834ecec8637e3d54b67debf95ceb649cc0b4e1d
tree28e73d68f693fd043f4c32ba7a034f6eed448b84
parent0932dc21180642ce1ff095b9b3e68b06c6f440b3
runtime/race: reject runtime fatal error in tests

We expect those tests to fail with non-zero exit code, due to
intentional races, but we don't expect the runtime to crash.
Reject that.

Change-Id: Ic37987dabecde5f0703c031c49ce7f884a7b06a5
Reviewed-on: https://go-review.googlesource.com/c/go/+/270398
Trust: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/race/race_test.go