diff options
author | Brad King <brad.king@kitware.com> | 2022-10-21 14:05:07 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-10-21 14:05:19 (GMT) |
commit | 479635bd04b0e7ec4fb1ad0b80b86f647cd6226a (patch) | |
tree | 4790a148b99174cf760804f25803814043e701f0 /Tests/CMakeLists.txt | |
parent | a0ccaaa4598701310c58cbf66f7fd372c4981939 (diff) | |
parent | 79ce0f434e916684d734e136b92e14f472a9d14a (diff) | |
download | CMake-479635bd04b0e7ec4fb1ad0b80b86f647cd6226a.zip CMake-479635bd04b0e7ec4fb1ad0b80b86f647cd6226a.tar.gz CMake-479635bd04b0e7ec4fb1ad0b80b86f647cd6226a.tar.bz2 |
Merge topic 'test-git-protocol-file'
79ce0f434e Tests: Explicitly allow usage of git file-based protocol in test cases
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !7812
Diffstat (limited to 'Tests/CMakeLists.txt')
-rw-r--r-- | Tests/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index 10242fd..6e35df9 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -1595,6 +1595,7 @@ if(BUILD_TESTING) ) list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/ExternalProject") set_tests_properties(ExternalProject PROPERTIES + ENVIRONMENT GIT_ALLOW_PROTOCOL=file RUN_SERIAL 1 TIMEOUT ${CMAKE_LONG_TEST_TIMEOUT}) @@ -2684,6 +2685,7 @@ if(BUILD_TESTING) -P "${CMake_BINARY_DIR}/Tests/CTestUpdateGIT.cmake" ) list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/${CTestUpdateGIT_DIR}") + set_property(TEST CTest.UpdateGIT PROPERTY ENVIRONMENT GIT_ALLOW_PROTOCOL=file) endif() # Test CTest Update with HG |