summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorKefu Chai <tchaikov@gmail.com>2018-12-21 16:40:27 +0100
committerGitHub <noreply@github.com>2018-12-21 16:40:27 +0100
commite57649dd9ce5bb94795b629f6315a7ba0ba52fac (patch)
treea308e6af7061c5613d12913f948200faad43510a /CMakeLists.txt
parentMerge pull request #25661 from joscollin/wip-doc-changing-monitors (diff)
parentcmake: allow setting of the CTest timeout during building. (diff)
downloadceph-e57649dd9ce5bb94795b629f6315a7ba0ba52fac.tar.xz
ceph-e57649dd9ce5bb94795b629f6315a7ba0ba52fac.zip
Merge pull request #22800 from wjwithagen/wjw-ctest-timeout
cmake: allow setting of the CTest timeout during building. Reviewed-by: Kefu Chai <kchai@redhat.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 34a7aa38210..257f864dcc0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -566,6 +566,8 @@ option(ENABLE_COVERAGE "Coverage is enabled" OFF)
option(PG_DEBUG_REFS "PG Ref debugging is enabled" OFF)
option(WITH_TESTS "enable the build of ceph-test package scripts/binaries" ON)
+set(CEPH_TEST_TIMEOUT 3600 CACHE STRING
+ "Maximum time before a CTest gets killed" )
# fio
option(WITH_FIO "build with fio plugin enabled" OFF)