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.
This commit is contained in:
Timothy Flynn 2025-08-28 07:11:36 -04:00 committed by Jelle Raaijmakers
commit e36cd6d82d
Notes: github-actions[bot] 2025-08-28 11:26:53 +00:00

View file

@ -785,7 +785,7 @@ static ErrorOr<int> 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)