From 8ac18ee2bb68bfe05b9886042834cd8591307c6f Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Tue, 30 May 2023 13:42:46 -0700 Subject: [PATCH] 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 --- tests/runtests.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/runtests.pl b/tests/runtests.pl index 5bfda269ec..87135b92fd 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -2653,7 +2653,7 @@ foreach my $testnum (@runtests) { elsif(!$anyway) { # a test failed, abort logmsg "\n - abort tests\n"; - last; + last nexttest; } } elsif(!$error) { -- 2.47.2