diff options
author | Brad King <brad.king@kitware.com> | 2015-04-10 15:52:16 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-04-10 18:56:41 (GMT) |
commit | 4e039a9a9814fd13142ae2c9876420ddf2414b8e (patch) | |
tree | 247fd6412ed95254fd3b18cddd19aa4bf2bfbaa4 /Tests/CMakeLists.txt | |
parent | 10859b97ebbe610a829e3981958d7b4c0149f95a (diff) | |
download | CMake-4e039a9a9814fd13142ae2c9876420ddf2414b8e.zip CMake-4e039a9a9814fd13142ae2c9876420ddf2414b8e.tar.gz CMake-4e039a9a9814fd13142ae2c9876420ddf2414b8e.tar.bz2 |
Tests: Move more command line tests into RunCMake.CommandLine
Port most CMakeTestBadCommandLines test cases to RunCMake.CommandLine
and drop the former test. Add validation of expected results, which was
not done by the old test.
Diffstat (limited to 'Tests/CMakeLists.txt')
-rw-r--r-- | Tests/CMakeLists.txt | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index aa6a993..1e60abe 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -1095,21 +1095,6 @@ ${CMake_BINARY_DIR}/bin/cmake -DDIR=dev -P ${CMake_SOURCE_DIR}/Utilities/Release "${CMake_BINARY_DIR}/Tests/CMakeTestAllGenerators") endif() - if(NOT DEFINED CTEST_RUN_CMakeTestBadCommandLines) - set(CTEST_RUN_CMakeTestBadCommandLines ON) - endif() - - if(CTEST_RUN_CMakeTestBadCommandLines) - add_test(CMakeTestBadCommandLines ${CMAKE_CMAKE_COMMAND} - -D dir=${CMake_BINARY_DIR}/Tests/CMakeTestBadCommandLines - -D gen=${CMAKE_GENERATOR} - -D CMake_SOURCE_DIR=${CMake_SOURCE_DIR} - -P ${CMake_SOURCE_DIR}/Tests/CMakeTestBadCommandLines/RunCMake.cmake - ) - list(APPEND TEST_BUILD_DIRS - "${CMake_BINARY_DIR}/Tests/CMakeTestBadCommandLines") - endif() - if(NOT DEFINED CTEST_RUN_CMakeTestMultipleConfigures) set(CTEST_RUN_CMakeTestMultipleConfigures ON) endif() |