mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-23 23:18:38 -06:00
Tests: Remove unused CVS tool discovery
Since commit b819ee85c0 (BUG: Oops. Left chunk of junk at the bottom of
the main Tests CMakeLists.txt file..., 2009-07-24, v2.8.0~385) the
`do_cvs_tests` variable is not used in `Tests/CMakeLists.txt`.
This commit is contained in:
@@ -294,26 +294,6 @@ if(BUILD_TESTING)
|
||||
mark_as_advanced(CTEST_TEST_CTEST)
|
||||
endif ()
|
||||
|
||||
# Should tests that use CVS be run?
|
||||
#
|
||||
set(do_cvs_tests 0)
|
||||
|
||||
if(EXISTS ${CMAKE_ROOT}/Modules/FindCVS.cmake)
|
||||
find_package(CVS QUIET)
|
||||
else()
|
||||
find_program(CVS_EXECUTABLE NAMES cvs)
|
||||
endif()
|
||||
|
||||
if(CVS_EXECUTABLE)
|
||||
set(do_cvs_tests 1)
|
||||
endif()
|
||||
|
||||
if(do_cvs_tests AND NOT UNIX)
|
||||
if("${CVS_EXECUTABLE}" MATCHES "cygwin")
|
||||
set(do_cvs_tests 0)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Should CPack tests be run? By default, yes, but...
|
||||
#
|
||||
# Disable packaging test on Apple 10.3 and below. PackageMaker starts
|
||||
|
||||
Reference in New Issue
Block a user