mirror of
https://github.com/curl/curl.git
synced 2026-07-11 08:57:16 +03:00
runtests: abort test run after failure without -a
This was broken in a recent refactor and test runs would not stop.
Follow-up to d4a1b5b6
Reported-by: Daniel Stenberg
Fixes #11225
Closes #11227
This commit is contained in:
parent
7ab9d43720
commit
8ac18ee2bb
1 changed files with 1 additions and 1 deletions
|
|
@ -2653,7 +2653,7 @@ foreach my $testnum (@runtests) {
|
|||
elsif(!$anyway) {
|
||||
# a test failed, abort
|
||||
logmsg "\n - abort tests\n";
|
||||
last;
|
||||
last nexttest;
|
||||
}
|
||||
}
|
||||
elsif(!$error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue