From 491313e7c56e54989afcac958953ce8cd767e9aa Mon Sep 17 00:00:00 2001 From: Sebastian Ullrich Date: Mon, 12 Jan 2026 15:06:21 +0000 Subject: [PATCH] chore: try printing stack trace on pkg/ test timeout --- src/shell/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/shell/CMakeLists.txt b/src/shell/CMakeLists.txt index c94b666025c9..73907028a87d 100644 --- a/src/shell/CMakeLists.txt +++ b/src/shell/CMakeLists.txt @@ -164,6 +164,10 @@ FOREACH(T ${LEANPKGTESTS}) add_test(NAME "${T_PATH}" WORKING_DIRECTORY "${T}" COMMAND bash -c "${TEST_VARS} ./test.sh") + set_tests_properties("${T_PATH}" PROPERTIES + TIMEOUT 500 + TIMEOUT_SIGNAL_NAME SIGTERM + TIMEOUT_SIGNAL_GRACE_PERIOD 5) endif() ENDFOREACH(T)