mirror of
https://github.com/curl/curl.git
synced 2026-07-10 17:57:16 +03:00
runtests: restore -k option and actively process as no-op
Restore processing this option to avoid falling it through and misinterpreted as something else, which in turn disables tests. Exit with an error instead. We delete completely in December 2026. Reported-by: Sam James Bug: https://github.com/curl/curl/pull/22100#issuecomment-4789828929 Follow-up to04305a3e40#22100 Follow-up to6617db6a7e#4035 Closes #22157
This commit is contained in:
parent
2f4d3221aa
commit
481e10160f
1 changed files with 4 additions and 0 deletions
|
|
@ -2539,6 +2539,10 @@ while(@ARGV) {
|
|||
$jobs = $1;
|
||||
}
|
||||
}
|
||||
elsif($ARGV[0] eq "-k") { # delete this check after December 2026
|
||||
print "Option -k became always-on in 7.65.2 (2019) and now a no-op. Delete it to continue.\n";
|
||||
exit;
|
||||
}
|
||||
elsif($ARGV[0] eq "-r") {
|
||||
# run time statistics needs Time::HiRes
|
||||
if($Time::HiRes::VERSION) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue