projects
/
pocl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d61271
)
kill hanging tests after 30 minutes
author
Andreas Beckmann
<anbe@debian.org>
Thu, 9 Jan 2025 11:44:04 +0000
(12:44 +0100)
committer
Andreas Beckmann
<anbe@debian.org>
Thu, 9 Jan 2025 11:44:04 +0000
(12:44 +0100)
Gbp-Pq: Name timeout.patch
cmake/run_test.cmake
patch
|
blob
|
history
diff --git
a/cmake/run_test.cmake
b/cmake/run_test.cmake
index 41f13bf88b0a1b004c108a1ad3e6fd61c01ad4cd..ec33ba269deea496df7e2eca3d623f617a48b887 100644
(file)
--- a/
cmake/run_test.cmake
+++ b/
cmake/run_test.cmake
@@
-12,7
+12,7
@@
endif()
string(REPLACE "####" ";" test_cmd_separated "${test_cmd}")
execute_process(
- COMMAND ${test_cmd_separated}
+ COMMAND
timeout -k 60 1800
${test_cmd_separated}
RESULT_VARIABLE test_not_successful
OUTPUT_VARIABLE stdout
ERROR_VARIABLE stderr