diff options
author | Brad King <brad.king@kitware.com> | 2013-10-18 17:30:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-10-18 17:32:39 (GMT) |
commit | a8226e91d75e595248a176966f3f645203f12072 (patch) | |
tree | 23c08ad0e211046f545b665a89274189ca18fd6b /Tests/CMakeLists.txt | |
parent | 919e1e845361d6e29789f5347d12af3318452843 (diff) | |
download | CMake-a8226e91d75e595248a176966f3f645203f12072.zip CMake-a8226e91d75e595248a176966f3f645203f12072.tar.gz CMake-a8226e91d75e595248a176966f3f645203f12072.tar.bz2 |
cmake: Drop support for "-i" wizard mode
Tell users to pass cache values with the -D option on the command line
or use cmake-gui or ccmake.
Diffstat (limited to 'Tests/CMakeLists.txt')
-rw-r--r-- | Tests/CMakeLists.txt | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index 2f6a456..7dee86a 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -2509,11 +2509,10 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/ ) endif() - add_test(CMakeWizardTest ${CMAKE_CMAKE_COMMAND} - -D build_dir:STRING=${CMAKE_CURRENT_BINARY_DIR}/CMakeWizardTest - -D source_dir:STRING=${CMAKE_CURRENT_SOURCE_DIR}/Tutorial/Step3 - -D CMAKE_CTEST_COMMAND:STRING=${CMAKE_CTEST_COMMAND} - -P ${CMAKE_CURRENT_SOURCE_DIR}/CMakeWizardTest.cmake) + add_test(NAME CMakeWizardTest COMMAND cmake -i) + set_property(TEST CMakeWizardTest PROPERTY PASS_REGULAR_EXPRESSION + "The \"cmake -i\" wizard mode is no longer supported.") + # If the cache variable CMAKE_CONTRACT_PROJECTS is set # then the dashboard will run a contract with CMake test of that # name. For example CMAKE_CONTRACT_PROJECTS = vtk542 would run |