diff options
author | David Cole <david.cole@kitware.com> | 2009-10-06 18:45:19 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2009-10-06 18:45:19 (GMT) |
commit | 5b74d031dba196989bdcc2dd13d0a857d476cea1 (patch) | |
tree | d33dc513682879546c2974748a0df423fae89442 /Tests/CMakeTests/CMakeLists.txt | |
parent | 8a5ae4c15efb027ad73e957ec077e9dc89bb5a17 (diff) | |
download | CMake-5b74d031dba196989bdcc2dd13d0a857d476cea1.zip CMake-5b74d031dba196989bdcc2dd13d0a857d476cea1.tar.gz CMake-5b74d031dba196989bdcc2dd13d0a857d476cea1.tar.bz2 |
Increase coverage. Intentionally trigger error conditions. Call all the else*/end* functions without proper opening or containing code structure: else, elseif, endforeach, endfunction, endif, endmacro, endwhile.
Diffstat (limited to 'Tests/CMakeTests/CMakeLists.txt')
-rw-r--r-- | Tests/CMakeTests/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/CMakeTests/CMakeLists.txt b/Tests/CMakeTests/CMakeLists.txt index 31417be..456e2e9 100644 --- a/Tests/CMakeTests/CMakeLists.txt +++ b/Tests/CMakeTests/CMakeLists.txt @@ -26,6 +26,11 @@ AddCMakeTest(String "") AddCMakeTest(Math "") AddCMakeTest(CMakeMinimumRequired "") +SET(EndStuff_PreArgs + "-Ddir:STRING=${CMAKE_CURRENT_BINARY_DIR}/EndStuffTest" + ) +AddCMakeTest(EndStuff "${EndStuff_PreArgs}") + SET(GetPrerequisites_PreArgs "-DCTEST_CONFIGURATION_TYPE:STRING=\\\${CTEST_CONFIGURATION_TYPE}" ) |