These became race instrumented in CL 643897, but race mode uses more
memory, so the test doesn't make much sense.
For #71395.
Change-Id: I6a6a636cf09ba29625aa9a22550314845fb2e611
Reviewed-on: https://go-review.googlesource.com/c/go/+/675077
Auto-Submit: Michael Pratt <mpratt@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
if runtime.GOOS != "windows" {
t.Skip("skipping windows specific test")
}
+ if race.Enabled {
+ t.Skip("skipping test: race mode uses more stack memory")
+ }
testenv.SkipFlaky(t, 22575)
o := runTestProg(t, "testprogcgo", "StackMemory")
stackUsage, err := strconv.Atoi(o)
import (
"fmt"
"internal/abi"
+ "internal/race"
"internal/syscall/windows/sysdll"
"internal/testenv"
"io"
}
func TestWindowsStackMemory(t *testing.T) {
+ if race.Enabled {
+ t.Skip("skipping test: race mode uses more stack memory")
+ }
o := runTestProg(t, "testprog", "StackMemory")
stackUsage, err := strconv.Atoi(o)
if err != nil {