summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeTests/ExecuteScriptTests.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Clean up usage of if(... MATCHES regex) followed string(REGEX REPLACE regex)Rolf Eike Beer2014-04-141-2/+2
| | | | | | The matches have already been calculated and can simply be taken from CMAKE_MATCH_n variables. This avoids multiple compilations of the same or very similar regular expressions.
* Increase coverage. Intentionally trigger error conditions. Call all the ↵David Cole2009-10-061-0/+1
| | | | else*/end* functions without proper opening or containing code structure: else, elseif, endforeach, endfunction, endif, endmacro, endwhile.
* Add a few more cases to the new StringTest for even better coverage. ↵David Cole2009-10-031-0/+62
Re-factor the scripts to make it easier to add new cases to this test. Re-factoring also enables the test driver in ExecuteScriptTests to be re-used when adding new tests in the future.