Change-Id: Id8584807c8d6ab0f796e851d318f3a8fd7994e63
This commit is contained in:
qiulaidongfeng 2024-02-20 11:52:58 +08:00
parent 56caf2fa06
commit 607c73f7df
2 changed files with 2 additions and 5 deletions

View File

@ -24,7 +24,6 @@ func TestVectoredHandlerExceptionInNonGoThread(t *testing.T) {
if strings.HasPrefix(testenv.Builder(), "windows-amd64-2012") {
testenv.SkipFlaky(t, 49681)
}
t.Parallel()
testenv.MustHaveGoBuild(t)
testenv.MustHaveCGO(t)
testenv.MustHaveExecPath(t, "gcc")
@ -86,7 +85,6 @@ func TestVectoredHandlerDontCrashOnLibrary(t *testing.T) {
// See go.dev/issues/43800.
t.Skip("this test can't run on windows/arm")
}
t.Parallel()
testenv.MustHaveGoBuild(t)
testenv.MustHaveCGO(t)
testenv.MustHaveExecPath(t, "gcc")
@ -207,7 +205,6 @@ func TestLibraryCtrlHandler(t *testing.T) {
if runtime.GOARCH != "amd64" {
t.Skip("this test can only run on windows/amd64")
}
t.Parallel()
testenv.MustHaveGoBuild(t)
testenv.MustHaveCGO(t)
testenv.MustHaveExecPath(t, "gcc")
@ -274,7 +271,6 @@ func TestIssue59213(t *testing.T) {
if *flagQuick {
t.Skip("-quick")
}
t.Parallel()
testenv.MustHaveGoBuild(t)
testenv.MustHaveCGO(t)
@ -294,6 +290,8 @@ func TestIssue59213(t *testing.T) {
cc := goEnv("CC")
cgoCflags := goEnv("CGO_CFLAGS")
t.Parallel()
tmpdir := t.TempDir()
dllfile := filepath.Join(tmpdir, "test.dll")
exefile := filepath.Join(tmpdir, "gotest.exe")

View File

@ -80,7 +80,6 @@ func TestStackGrowth(t *testing.T) {
if *flagQuick {
t.Skip("-quick")
}
t.Parallel()
var wg sync.WaitGroup