From fcd39b67afafd14cfb631be0215330a63d334e48 Mon Sep 17 00:00:00 2001 From: Jelle Raaijmakers Date: Mon, 18 Aug 2025 01:18:37 +0200 Subject: [PATCH] Tests: Set SIGTERM as the timeout signal handler for ctest 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. --- Tests/LibWeb/test-web/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Tests/LibWeb/test-web/CMakeLists.txt b/Tests/LibWeb/test-web/CMakeLists.txt index 0e0f62ac9b9..bd654f0c398 100644 --- a/Tests/LibWeb/test-web/CMakeLists.txt +++ b/Tests/LibWeb/test-web/CMakeLists.txt @@ -22,5 +22,7 @@ if (BUILD_TESTING) COMMAND $ --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()