diff options
author | Brad King <brad.king@kitware.com> | 2014-06-30 18:35:52 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-06-30 18:35:52 (GMT) |
commit | 6eee5d7449fd92d4dcb5ba06e0f38c87d00f9065 (patch) | |
tree | bb09fc788fa91e99b483f1978f9f70a2732fe27c /Tests/RunCMake | |
parent | f0f15b93bd98cf95d61b5a110a9e2cb5e9ea0f57 (diff) | |
download | CMake-6eee5d7449fd92d4dcb5ba06e0f38c87d00f9065.zip CMake-6eee5d7449fd92d4dcb5ba06e0f38c87d00f9065.tar.gz CMake-6eee5d7449fd92d4dcb5ba06e0f38c87d00f9065.tar.bz2 |
Tests: Drop broken and now unused RunCMake_TEST_FILE option
We cannot use -DRunCMake_TEST=${RunCMake_TEST_FILE} because test cases
use project(${RunCMake_TEST}) and the project name cannot be a path to a
file. The parent and grandparent commits removed the only uses of the
option. Drop it now.
Diffstat (limited to 'Tests/RunCMake')
-rw-r--r-- | Tests/RunCMake/RunCMake.cmake | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Tests/RunCMake/RunCMake.cmake b/Tests/RunCMake/RunCMake.cmake index 4ed2f43..2020356 100644 --- a/Tests/RunCMake/RunCMake.cmake +++ b/Tests/RunCMake/RunCMake.cmake @@ -38,9 +38,6 @@ function(run_cmake test) if(NOT DEFINED RunCMake_TEST_OPTIONS) set(RunCMake_TEST_OPTIONS "") endif() - if (NOT RunCMake_TEST_FILE) - set(RunCMake_TEST_FILE "${test}") - endif() if(APPLE) list(APPEND RunCMake_TEST_OPTIONS -DCMAKE_POLICY_DEFAULT_CMP0025=NEW) endif() @@ -57,7 +54,7 @@ function(run_cmake test) COMMAND ${CMAKE_COMMAND} "${RunCMake_TEST_SOURCE_DIR}" -G "${RunCMake_GENERATOR}" -T "${RunCMake_GENERATOR_TOOLSET}" - -DRunCMake_TEST=${RunCMake_TEST_FILE} + -DRunCMake_TEST=${test} --no-warn-unused-cli ${RunCMake_TEST_OPTIONS} WORKING_DIRECTORY "${RunCMake_TEST_BINARY_DIR}" |