Commit 6731063e authored by Dmitry Vyukov's avatar Dmitry Vyukov

runtime/race: fix test in preparation for new race runtime

New race runtime is more scrupulous about env flags format.

Change-Id: I2828bc737a8be3feae5288ccf034c52883f224d8
Reviewed-on: https://go-review.googlesource.com/4811Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 6e5cc1f1
...@@ -152,7 +152,7 @@ func runTests() ([]byte, error) { ...@@ -152,7 +152,7 @@ func runTests() ([]byte, error) {
} }
cmd.Env = append(cmd.Env, env) cmd.Env = append(cmd.Env, env)
} }
cmd.Env = append(cmd.Env, `GORACE="suppress_equal_stacks=0 suppress_equal_addresses=0 exitcode=0"`) cmd.Env = append(cmd.Env, `GORACE=suppress_equal_stacks=0 suppress_equal_addresses=0 exitcode=0`)
return cmd.CombinedOutput() return cmd.CombinedOutput()
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment