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/ExecuteScriptTests.cmake | |
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/ExecuteScriptTests.cmake')
-rw-r--r-- | Tests/CMakeTests/ExecuteScriptTests.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/CMakeTests/ExecuteScriptTests.cmake b/Tests/CMakeTests/ExecuteScriptTests.cmake index 415614f..c71585a 100644 --- a/Tests/CMakeTests/ExecuteScriptTests.cmake +++ b/Tests/CMakeTests/ExecuteScriptTests.cmake @@ -6,6 +6,7 @@ function(execute_one_script_test scriptname testname expected_result) execute_process( COMMAND ${CMAKE_COMMAND} + -D "dir:STRING=${dir}" -D "testname:STRING=${testname}" -P "${scriptname}" OUTPUT_VARIABLE out |