summaryrefslogtreecommitdiffstats
path: root/Tests/CommandLineTest
Commit message (Collapse)AuthorAgeFilesLines
* Remove CMake-language block-end command argumentsKitware Robot2012-08-131-12/+12
| | | | | | | | | | | | | | | | | Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block. This is no longer the preferred style. Run the following shell code: for c in else endif endforeach endfunction endmacro endwhile; do echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | egrep -z -v 'Tests/CMakeTests/While-Endwhile-' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Convert CMake-language commands to lower caseKitware Robot2012-08-132-44/+44
| | | | | | | | | | | | | | | | | Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code: cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Remove unused DumpDocumentation codeBrad King2009-12-081-10/+0
| | | | | | | The DumpDocumentation executable and some supporting code and tests were completely unused by CMake. Generation of documentation is done by the individual executables with --help* options. In this commit we simply remove the unused code, executable, and test.
* ENH: preclean some warningsKen Martin2008-03-251-0/+1
|
* ENH: make commands lower case by defaultKen Martin2007-10-101-2/+2
|
* ENH: Added test for IF(DEFINED ENV{var})(.Brad King2006-02-101-0/+7
|
* ENH: Test setting of environment variablesAndy Cedilnik2005-06-031-1/+7
|
* BUG: Fix for space in path for chdir test. We just need to double-quote the ↵Brad King2005-02-171-1/+1
| | | | arguments.
* BUG: fix CommandLine test problems with spaces and testing for the return valueBill Hoffman2005-02-161-28/+49
|
* ENH: Add some ctest coverageAndy Cedilnik2004-05-101-0/+19
|
* ENH: Add support for automatically preloaded cmake file. Closes Bug #802 - ↵Andy Cedilnik2004-04-282-0/+11
| | | | Add auto preload file support in CMake
* ENH: Added test of --copyright and --version arguments for coverage.Brad King2003-08-051-0/+2
|
* ENH: Added test of --help [command] form of help option for coverage.Brad King2003-08-051-0/+1
|
* ENH: Added CommandLineTest to add coverage for command line arguments to ↵Brad King2003-07-242-0/+26
cmake executables. This replaces the old DumpDocumentation test.