mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-23 03:35:09 +00:00
[runtimes][CI] Add a 20 minutes individual test time out
If a single test has been running for more than 20 minutes on a CI node, something is wrong and it should time-out instead of running until the node potentially times out itself. Differential Revision: https://reviews.llvm.org/D114896
This commit is contained in:
parent
a8ef1647aa
commit
8b5e4c038e
@ -86,7 +86,7 @@ function generate-cmake-base() {
|
||||
-DLIBCXX_ENABLE_WERROR=YES \
|
||||
-DLIBCXXABI_ENABLE_WERROR=YES \
|
||||
-DLIBUNWIND_ENABLE_WERROR=YES \
|
||||
-DLLVM_LIT_ARGS="-sv --show-unsupported --xunit-xml-output test-results.xml" \
|
||||
-DLLVM_LIT_ARGS="-sv --show-unsupported --xunit-xml-output test-results.xml --timeout=1200" \
|
||||
"${@}"
|
||||
}
|
||||
|
||||
@ -492,7 +492,7 @@ legacy-project-build)
|
||||
-GNinja -DCMAKE_MAKE_PROGRAM="${NINJA}" \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_INSTALL_PREFIX="${INSTALL_DIR}" \
|
||||
-DLLVM_LIT_ARGS="-sv --show-unsupported --xunit-xml-output test-results.xml" \
|
||||
-DLLVM_LIT_ARGS="-sv --show-unsupported --xunit-xml-output test-results.xml --timeout=1200" \
|
||||
-DLIBCXX_CXX_ABI=libcxxabi
|
||||
check-runtimes
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user