mirror of
https://github.com/curl/curl.git
synced 2026-04-14 21:51:41 +03:00
GHA/windows: disable taskkill in torture jobs
As an experiment. Also: - processhelp.pm: log when `taskkill` is force-skipped. Ref: #21035 Follow-up tof450f3801b#19897 Follow-up to2701ac6a4d#19421 Closes #21039
This commit is contained in:
parent
708b3f8b4e
commit
208b87744e
2 changed files with 7 additions and 0 deletions
1
.github/workflows/windows.yml
vendored
1
.github/workflows/windows.yml
vendored
|
|
@ -431,6 +431,7 @@ jobs:
|
|||
fi
|
||||
if [[ "${TFLAGS}" = *'-t'* ]]; then
|
||||
TFLAGS+=' !2300' # Leaks memory and file handle via tool_doswin.c / win32_stdin_read_thread()
|
||||
export CURL_TEST_NO_TASKKILL=1 # experiment to see if it reduces flaky failures
|
||||
fi
|
||||
fi
|
||||
if [ -x "$(cygpath "${SYSTEMROOT}/System32/curl.exe")" ]; then
|
||||
|
|
|
|||
|
|
@ -192,6 +192,9 @@ sub pidterm {
|
|||
print "Executing: '$cmd'\n";
|
||||
system($cmd);
|
||||
}
|
||||
else {
|
||||
print "taskkill disabled via CURL_TEST_NO_TASKKILL.\n";
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
@ -240,6 +243,9 @@ sub pidkill {
|
|||
print "Executing: '$cmd'\n";
|
||||
system($cmd);
|
||||
}
|
||||
else {
|
||||
print "taskkill disabled via CURL_TEST_NO_TASKKILL.\n";
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue