mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-21 16:58:58 +00:00
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:
parent
f93819eda2
commit
e36cd6d82d
Notes:
github-actions[bot]
2025-08-28 11:26:53 +00:00
Author: https://github.com/trflynn89
Commit: e36cd6d82d
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6011
Reviewed-by: https://github.com/gmta ✅
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue