diff options
Diffstat (limited to 'src/pkg/runtime/race/race_test.go')
-rw-r--r-- | src/pkg/runtime/race/race_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/race/race_test.go b/src/pkg/runtime/race/race_test.go index 47d34d7ad..4776ae22d 100644 --- a/src/pkg/runtime/race/race_test.go +++ b/src/pkg/runtime/race/race_test.go @@ -147,7 +147,7 @@ func runTests() ([]byte, error) { // It is required because the tests contain a lot of data races on the same addresses // (the tests are simple and the memory is constantly reused). for _, env := range os.Environ() { - if strings.HasPrefix(env, "GOMAXPROCS=") || strings.HasPrefix(env, "GOGCTRACE=") { + if strings.HasPrefix(env, "GOMAXPROCS=") || strings.HasPrefix(env, "GODEBUG=") { continue } cmd.Env = append(cmd.Env, env) |