mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
Tests: Set SIGTERM as the timeout signal handler for ctest
Some checks are pending
CI / macOS, arm64, Sanitizer, Clang (push) Waiting to run
CI / Linux, x86_64, Fuzzers, Clang (push) Waiting to run
CI / Linux, x86_64, Sanitizer, GNU (push) Waiting to run
CI / Linux, x86_64, Sanitizer, Clang (push) Waiting to run
Package the js repl as a binary artifact / Linux, arm64 (push) Waiting to run
Package the js repl as a binary artifact / macOS, arm64 (push) Waiting to run
Package the js repl as a binary artifact / Linux, x86_64 (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run
Some checks are pending
CI / macOS, arm64, Sanitizer, Clang (push) Waiting to run
CI / Linux, x86_64, Fuzzers, Clang (push) Waiting to run
CI / Linux, x86_64, Sanitizer, GNU (push) Waiting to run
CI / Linux, x86_64, Sanitizer, Clang (push) Waiting to run
Package the js repl as a binary artifact / Linux, arm64 (push) Waiting to run
Package the js repl as a binary artifact / macOS, arm64 (push) Waiting to run
Package the js repl as a binary artifact / Linux, x86_64 (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run
We occasionally (frequently) time out in CI. If ctest triggers this timeout, it sends a SIGSTOP followed by a SIGKILL. Since we want to gracefully exit the test runner, ask ctest to send a SIGTERM instead. This should cause active test status reports to show up in CI.
This commit is contained in:
parent
bee0ba2bb4
commit
fcd39b67af
Notes:
github-actions[bot]
2025-08-18 00:53:04 +00:00
Author: https://github.com/gmta
Commit: fcd39b67af
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5891
Reviewed-by: https://github.com/trflynn89 ✅
1 changed files with 3 additions and 1 deletions
|
@ -22,5 +22,7 @@ if (BUILD_TESTING)
|
|||
COMMAND $<TARGET_FILE:test-web> --python-executable ${Python3_EXECUTABLE} --dump-failed-ref-tests --per-test-timeout 120 --verbose
|
||||
)
|
||||
|
||||
set_tests_properties(LibWeb PROPERTIES ENVIRONMENT LADYBIRD_SOURCE_DIR=${LADYBIRD_PROJECT_ROOT})
|
||||
set_tests_properties(LibWeb PROPERTIES
|
||||
ENVIRONMENT LADYBIRD_SOURCE_DIR=${LADYBIRD_PROJECT_ROOT}
|
||||
TIMEOUT_SIGNAL_NAME SIGTERM)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue