summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-09-18 12:42:34 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-09-18 12:43:13 (GMT)
commitce89f54ee30038fea7abe7a25a2bfe5c14f08cce (patch)
tree36dc5d7b9a03481e825e820f9b0da749fa73a3cb /Tests
parent9472ed34e9567fb7d89970125fcca773346dcfe4 (diff)
parent6a88e6332f1b31c337f8a7ddb73b1cf8c782f35e (diff)
downloadCMake-ce89f54ee30038fea7abe7a25a2bfe5c14f08cce.zip
CMake-ce89f54ee30038fea7abe7a25a2bfe5c14f08cce.tar.gz
CMake-ce89f54ee30038fea7abe7a25a2bfe5c14f08cce.tar.bz2
Merge topic 'rel-drop-old'
6a88e6332f Utilities/Release: Drop now-unused scripts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5234
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CMakeLists.txt17
1 files changed, 0 insertions, 17 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index b0cb8d4..ee3ac3d 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -788,23 +788,6 @@ if(BUILD_TESTING)
list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/SubProject")
endif()
- # macro to add a test that will build a nightly release
- # of CMake for given platform using the release scripts
- macro(ADD_NIGHTLY_BUILD_TEST name script)
- set(_TEST_DIR "${CMake_BINARY_DIR}/Tests/${name}")
- file(MAKE_DIRECTORY "${_TEST_DIR}")
- file(WRITE "${_TEST_DIR}/nightly-cmake.sh"
- "set -e
-cd ${_TEST_DIR}
-${CMake_BINARY_DIR}/bin/cmake -DCMAKE_CREATE_VERSION=nightly -P ${CMake_SOURCE_DIR}/Utilities/Release/${script}
-${CMake_SOURCE_DIR}/Utilities/Release/push.bash --dir dev -- '${CMake_BUILD_NIGHTLY_RELEASES}'
- ")
- add_test(${name} /bin/sh ${_TEST_DIR}/nightly-cmake.sh)
- if(COMMAND SET_TESTS_PROPERTIES AND COMMAND GET_TEST_PROPERTY)
- set_tests_properties (${name} PROPERTIES TIMEOUT ${CMAKE_LONG_TEST_TIMEOUT})
- endif()
- endmacro()
-
# add tests with more complex invocations
add_test(Framework ${CMAKE_CTEST_COMMAND}
--build-and-test