]> Cypherpunks repositories - gostls13.git/commit
runtime: replace --buildmode with -buildmode in tests
authorAlex Brainman <alex.brainman@gmail.com>
Sun, 25 Apr 2021 08:26:30 +0000 (18:26 +1000)
committerAlex Brainman <alex.brainman@gmail.com>
Tue, 27 Apr 2021 08:39:25 +0000 (08:39 +0000)
commite0815d041c55dad8ae5642466b08fc2f520a59d4
tree93b686ad247e18444af1c554ec3707c86e6b3da7
parentca8e8317be5b288163c3623f936fb234723484cc
runtime: replace --buildmode with -buildmode in tests

While debugging issue #45638, I discovered that some tests were using
--buildmode command line parameter instead of -buildmode.

The --buildmode parameter is handled properly by the flag package - it
is read as -buildmode. But we should correct code anyway.

Updates #45638

Change-Id: I75cf95c7d11dcdf4aeccf568b2dea77bd8942352
Reviewed-on: https://go-review.googlesource.com/c/go/+/313351
Trust: Alex Brainman <alex.brainman@gmail.com>
Run-TryBot: Alex Brainman <alex.brainman@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/runtime/signal_windows_test.go