mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-18 05:01:50 -06:00
Merge topic 'test-XcodeProject-timeout'
ca355d92d8 Tests: Add option for custom RunCMake.XcodeProject timeout
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2614
This commit is contained in:
@@ -335,6 +335,13 @@ endif()
|
||||
|
||||
if(XCODE_VERSION)
|
||||
add_RunCMake_test(XcodeProject -DXCODE_VERSION=${XCODE_VERSION})
|
||||
|
||||
# This test can take a very long time due to lots of combinations.
|
||||
# Use a long default timeout and provide an option to customize it.
|
||||
if(NOT DEFINED CMake_TEST_XcodeProject_TIMEOUT)
|
||||
set(CMake_TEST_XcodeProject_TIMEOUT 2000)
|
||||
endif()
|
||||
set_property(TEST RunCMake.XcodeProject PROPERTY TIMEOUT ${CMake_TEST_XcodeProject_TIMEOUT})
|
||||
endif()
|
||||
|
||||
if(CMAKE_C_COMPILER_ID STREQUAL "AppleClang"
|
||||
|
||||
Reference in New Issue
Block a user