]> Cypherpunks repositories - gostls13.git/commit
runtime/race: ignore user GORACE env var in tests
authorDmitry Vyukov <dvyukov@google.com>
Fri, 28 Oct 2016 22:53:49 +0000 (00:53 +0200)
committerDmitry Vyukov <dvyukov@google.com>
Sat, 29 Oct 2016 01:32:26 +0000 (01:32 +0000)
commit894abb5f680c040777f17f9f8ee5a5ab3a03cb94
tree59bda33085629711dec61a89b84a91a64b11c986
parentcf28726c8d692bf74af1bd2366a6320f964a025f
runtime/race: ignore user GORACE env var in tests

I did 'export GORACE=atexit_sleep_ms=0' in a console
and then was puzzled as to why race tests fail.
Existing GORACE env var may (or may not) override
the one that we setup.
Filter out GORACE as we do for other important env vars.

Change-Id: I29be86b0cbb9b5dc7f9efb15729ade86fc79b0e0
Reviewed-on: https://go-review.googlesource.com/32163
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/runtime/race/race_test.go