Tests: Drop test for VS 7.0 generator deprecation warnings
We removed this generator but forgot to remove this now-unused test case.
This commit is contained in:
parent
5b4f771fd7
commit
6a501b6519
|
@ -1,5 +0,0 @@
|
||||||
^CMake Warning:
|
|
||||||
The "Visual Studio 7" generator is deprecated and will be removed in a
|
|
||||||
future version of CMake.
|
|
||||||
|
|
||||||
Add CMAKE_WARN_VS70=OFF to the cache to disable this warning.$
|
|
|
@ -72,13 +72,6 @@ if(RunCMake_GENERATOR STREQUAL "Ninja")
|
||||||
unset(RunCMake_TEST_NO_CLEAN)
|
unset(RunCMake_TEST_NO_CLEAN)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(RunCMake_GENERATOR STREQUAL "Visual Studio 7")
|
|
||||||
set(RunCMake_WARN_VS70 1)
|
|
||||||
run_cmake(DeprecateVS70-WARN-ON)
|
|
||||||
unset(RunCMake_WARN_VS70)
|
|
||||||
run_cmake(DeprecateVS70-WARN-OFF)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(UNIX)
|
if(UNIX)
|
||||||
run_cmake_command(E_create_symlink-no-arg
|
run_cmake_command(E_create_symlink-no-arg
|
||||||
${CMAKE_COMMAND} -E create_symlink
|
${CMAKE_COMMAND} -E create_symlink
|
||||||
|
|
|
@ -51,9 +51,6 @@ function(run_cmake test)
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
list(APPEND RunCMake_TEST_OPTIONS -DCMAKE_POLICY_DEFAULT_CMP0025=NEW)
|
list(APPEND RunCMake_TEST_OPTIONS -DCMAKE_POLICY_DEFAULT_CMP0025=NEW)
|
||||||
endif()
|
endif()
|
||||||
if(RunCMake_GENERATOR STREQUAL "Visual Studio 7" AND NOT RunCMake_WARN_VS70)
|
|
||||||
list(APPEND RunCMake_TEST_OPTIONS -DCMAKE_WARN_VS70=OFF)
|
|
||||||
endif()
|
|
||||||
if(RunCMake_MAKE_PROGRAM)
|
if(RunCMake_MAKE_PROGRAM)
|
||||||
list(APPEND RunCMake_TEST_OPTIONS "-DCMAKE_MAKE_PROGRAM=${RunCMake_MAKE_PROGRAM}")
|
list(APPEND RunCMake_TEST_OPTIONS "-DCMAKE_MAKE_PROGRAM=${RunCMake_MAKE_PROGRAM}")
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue