From e36cd6d82de6dddaf841ded19930646a3c7d686d Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Thu, 28 Aug 2025 07:11:36 -0400 Subject: [PATCH] Tests/LibWeb: Ensure SIGINT causes test-web to exit with a non-zero code Sending a ctrl+c to a program should generally cause it to exit with a non-zero status code. --- Tests/LibWeb/test-web/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/LibWeb/test-web/main.cpp b/Tests/LibWeb/test-web/main.cpp index 3019882ef35..86366a7a6d3 100644 --- a/Tests/LibWeb/test-web/main.cpp +++ b/Tests/LibWeb/test-web/main.cpp @@ -785,7 +785,7 @@ static ErrorOr run_tests(Core::AnonymousBuffer const& theme, Web::DevicePix } } - return fail_count + timeout_count + crashed_count; + return fail_count + timeout_count + crashed_count + tests_remaining; } static void handle_signal(int signal)