[libcxx-commits] [libcxx] 8b5e4c0 - [runtimes][CI] Add a 20 minutes individual test time out

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Mon Apr 11 14:47:10 PDT 2022


Author: Louis Dionne
Date: 2022-04-11T17:47:05-04:00
New Revision: 8b5e4c038ed7d79e377afd19e804b0b2e5419aa3

URL: https://github.com/llvm/llvm-project/commit/8b5e4c038ed7d79e377afd19e804b0b2e5419aa3
DIFF: https://github.com/llvm/llvm-project/commit/8b5e4c038ed7d79e377afd19e804b0b2e5419aa3.diff

LOG: [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

Added: 
    

Modified: 
    libcxx/utils/ci/run-buildbot

Removed: 
    


################################################################################
diff  --git a/libcxx/utils/ci/run-buildbot b/libcxx/utils/ci/run-buildbot
index fe2b823f80f70..f526097baefbd 100755
--- a/libcxx/utils/ci/run-buildbot
+++ b/libcxx/utils/ci/run-buildbot
@@ -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
 ;;


        


More information about the libcxx-commits mailing list