CMake/Tests/CMakeTests
Kitware Robot 9db3116226 Remove CMake-language block-end command arguments
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
2012-08-13 14:19:16 -04:00
..
A/include ENH: Add test for new find_* command HINTS option. 2008-06-09 15:09:14 -04:00
ELF Create CMake.ELF test to cover cmELF further 2009-10-27 14:01:31 -04:00
include ENH: merge CMake-CrossCompileBasic to HEAD 2007-05-17 13:20:44 -04:00
.gitattributes Fix CMake.File hash test for CRLF checkouts 2011-11-16 11:26:10 -05:00
CMakeLists.txt Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
CMakeMinimumRequiredTest.cmake.in Add tests for uncovered bits of the math and cmake_minimum_required cmake functions. 2009-10-05 16:50:21 -04:00
CMakeMinimumRequiredTestScript.cmake Add tests for uncovered bits of the math and cmake_minimum_required cmake functions. 2009-10-05 16:50:21 -04:00
CheckCMakeTest.cmake Add file(MD5) command to compute cryptographic hash 2011-11-16 10:15:01 -05:00
CheckSourceTreeTest.cmake.in CheckSourceTree: Remove CVS checkout support (#13001) 2012-03-02 10:24:43 -05:00
CompilerIdVendorTest.cmake.in Add alternate per-vendor compiler id detection 2010-02-01 09:03:05 -05:00
ConfigureFile-BadArg.cmake Create CMake.ConfigureFile test for configure_file 2009-09-16 15:09:58 -04:00
ConfigureFile-DirInput.cmake Create CMake.ConfigureFile test for configure_file 2009-09-16 15:09:58 -04:00
ConfigureFile-DirOutput.cmake Create CMake.ConfigureFile test for configure_file 2009-09-16 15:09:58 -04:00
ConfigureFile-NewLineStyle-COPYONLY.cmake Add NEWLINE_STYLE option to configure_file (#3957) 2011-11-28 13:48:59 -05:00
ConfigureFile-NewLineStyle-NoArg.cmake Add NEWLINE_STYLE option to configure_file (#3957) 2011-11-28 13:48:59 -05:00
ConfigureFile-NewLineStyle-ValidArg.cmake Add NEWLINE_STYLE option to configure_file (#3957) 2011-11-28 13:48:59 -05:00
ConfigureFile-NewLineStyle-WrongArg.cmake Add NEWLINE_STYLE option to configure_file (#3957) 2011-11-28 13:48:59 -05:00
ConfigureFile-Relative.cmake Create CMake.ConfigureFile test for configure_file 2009-09-16 15:09:58 -04:00
ConfigureFileTest.cmake.in Add NEWLINE_STYLE option to configure_file (#3957) 2011-11-28 13:48:59 -05:00
DummyToolchain.cmake ENH: remove support for presetting CMAKE_SYSTEM_INFO_FILE, 2007-07-02 13:29:36 -04:00
ELFTest.cmake.in Create CMake.ELF test to cover cmELF further 2009-10-27 14:01:31 -04:00
EndStuffTest.cmake.in 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. 2009-10-06 14:45:19 -04:00
EndStuffTestScript.cmake 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. 2009-10-06 14:45:19 -04:00
ExecuteScriptTests.cmake 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. 2009-10-06 14:45:19 -04:00
File-Copy-BadArg.cmake ENH: Test file(COPY) failure cases 2009-04-29 13:13:58 -04:00
File-Copy-BadPerm.cmake ENH: Test file(COPY) failure cases 2009-04-29 13:13:58 -04:00
File-Copy-BadRegex.cmake ENH: Test file(COPY) failure cases 2009-04-29 13:13:58 -04:00
File-Copy-EarlyArg.cmake ENH: Test file(COPY) failure cases 2009-04-29 13:13:58 -04:00
File-Copy-LateArg.cmake ENH: Test file(COPY) failure cases 2009-04-29 13:13:58 -04:00
File-Copy-NoDest.cmake ENH: Test file(COPY) failure cases 2009-04-29 13:13:58 -04:00
File-Copy-NoFile.cmake ENH: Test file(COPY) failure cases 2009-04-29 13:13:58 -04:00
File-HASH-Input.txt Fix CMake.File hash test for CRLF checkouts 2011-11-16 11:26:10 -05:00
File-MD5-BadArg1.cmake Add file(MD5) command to compute cryptographic hash 2011-11-16 10:15:01 -05:00
File-MD5-BadArg2.cmake Fix CMake.File hash test for CRLF checkouts 2011-11-16 11:26:10 -05:00
File-MD5-BadArg4.cmake Fix CMake.File hash test for CRLF checkouts 2011-11-16 11:26:10 -05:00
File-MD5-NoFile.cmake Add file(MD5) command to compute cryptographic hash 2011-11-16 10:15:01 -05:00
File-MD5-Works.cmake Fix CMake.File hash test for CRLF checkouts 2011-11-16 11:26:10 -05:00
File-SHA1-Works.cmake Fix CMake.File hash test for CRLF checkouts 2011-11-16 11:26:10 -05:00
File-SHA224-Works.cmake Fix CMake.File hash test for CRLF checkouts 2011-11-16 11:26:10 -05:00
File-SHA256-Works.cmake Fix CMake.File hash test for CRLF checkouts 2011-11-16 11:26:10 -05:00
File-SHA384-Works.cmake Fix CMake.File hash test for CRLF checkouts 2011-11-16 11:26:10 -05:00
File-SHA512-Works.cmake Fix CMake.File hash test for CRLF checkouts 2011-11-16 11:26:10 -05:00
FileDownloadInput.png Improve FILE(DOWNLOAD) and ExternalProject. 2010-05-27 12:21:56 -04:00
FileDownloadTest.cmake.in Make file DOWNLOAD less noisy (#11761) 2011-02-09 13:22:32 -05:00
FileTest.cmake.in Fix CMake.File hash test for CRLF checkouts 2011-11-16 11:26:10 -05:00
FileTestScript.cmake Implement file(UPLOAD (#11286) 2011-02-25 17:26:34 -05:00
FileUploadTest.cmake.in Implement file(UPLOAD (#11286) 2011-02-25 17:26:34 -05:00
FindBaseTest.cmake.in Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
GetFilenameComponentRealpathTest.cmake.in Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
GetPrerequisitesTest.cmake.in Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
GetProperty-Bad-Argument.cmake add test for get_property() errors 2012-03-04 13:43:23 +01:00
GetProperty-Bad-Directory.cmake add test for get_property() errors 2012-03-04 13:43:23 +01:00
GetProperty-Bad-Scope.cmake add test for get_property() errors 2012-03-04 13:43:23 +01:00
GetProperty-Bad-Target.cmake add test for get_property() errors 2012-03-04 13:43:23 +01:00
GetProperty-Bad-Test.cmake add test for get_property() errors 2012-03-04 13:43:23 +01:00
GetProperty-Doc-Properties.cmake add test for get_property() errors 2012-03-04 13:43:23 +01:00
GetProperty-Global-Name.cmake add test for get_property() errors 2012-03-04 13:43:23 +01:00
GetProperty-Missing-Argument.cmake add test for get_property() errors 2012-03-04 13:43:23 +01:00
GetProperty-No-Cache.cmake add test for get_property() errors 2012-03-04 13:43:23 +01:00
GetProperty-No-Property.cmake add test for get_property() errors 2012-03-04 13:43:23 +01:00
GetProperty-No-Source.cmake add test for get_property() errors 2012-03-04 13:43:23 +01:00
GetProperty-No-Target.cmake add test for get_property() errors 2012-03-04 13:43:23 +01:00
GetProperty-No-Test.cmake add test for get_property() errors 2012-03-04 13:43:23 +01:00
GetProperty-Variable-Name.cmake add test for get_property() errors 2012-03-04 13:43:23 +01:00
GetPropertyTest.cmake.in add test for get_property() errors 2012-03-04 13:43:23 +01:00
If-Invalid-Argument.cmake fix uninitialized var in if(NOT foo bar STREQUAL "foo bar") 2012-01-22 12:15:57 +01:00
IfTest.cmake.in fix uninitialized var in if(NOT foo bar STREQUAL "foo bar") 2012-01-22 12:15:57 +01:00
ImplicitLinkInfoTest.cmake.in Absoft: Detect implicit link libraries on Linux and Mac 2011-05-20 08:57:51 -04:00
IncludeTest.cmake.in Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
ListTest.cmake.in Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
MathTest.cmake.in Add tests for uncovered bits of the math and cmake_minimum_required cmake functions. 2009-10-05 16:50:21 -04:00
MathTestScript.cmake Add tests for uncovered bits of the math and cmake_minimum_required cmake functions. 2009-10-05 16:50:21 -04:00
MessageTest.cmake.in ENH: Teach message() how to display warnings 2009-03-06 10:04:06 -05:00
MessageTestScript.cmake ENH: Teach message() how to display warnings 2009-03-06 10:04:06 -05:00
ModuleNoticesTest.cmake.in ModuleNoticesTest: Do not require "Kitware" copyright 2010-08-17 09:23:35 -04:00
ProcessorCountTest.cmake.in ProcessorCount: Use ERROR_QUIET with execute_process (#11302) 2011-03-18 14:28:24 -04:00
PushCheckStateTest.cmake.in Add macros cmake_push/pop_check_state() as discussed on the list. 2011-07-07 22:09:44 +02:00
SeparateArgumentsTest.cmake.in ENH: Teach separate_arguments() to parse commands 2009-07-14 10:15:47 -04:00
String-MD5-BadArg1.cmake Add string(MD5) and string(SHA*) commands to compute hashes 2011-11-16 10:29:35 -05:00
String-MD5-BadArg2.cmake Add string(MD5) and string(SHA*) commands to compute hashes 2011-11-16 10:29:35 -05:00
String-MD5-BadArg4.cmake Add string(MD5) and string(SHA*) commands to compute hashes 2011-11-16 10:29:35 -05:00
String-MD5-Works.cmake Add string(MD5) and string(SHA*) commands to compute hashes 2011-11-16 10:29:35 -05:00
String-SHA1-Works.cmake Add string(MD5) and string(SHA*) commands to compute hashes 2011-11-16 10:29:35 -05:00
String-SHA224-Works.cmake Add string(MD5) and string(SHA*) commands to compute hashes 2011-11-16 10:29:35 -05:00
String-SHA256-Works.cmake Add string(MD5) and string(SHA*) commands to compute hashes 2011-11-16 10:29:35 -05:00
String-SHA384-Works.cmake Add string(MD5) and string(SHA*) commands to compute hashes 2011-11-16 10:29:35 -05:00
String-SHA512-Works.cmake Add string(MD5) and string(SHA*) commands to compute hashes 2011-11-16 10:29:35 -05:00
StringTest.cmake.in Add string(MD5) and string(SHA*) commands to compute hashes 2011-11-16 10:29:35 -05:00
StringTestScript.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
ToolchainTest.cmake.in Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
VariableWatchTest.cmake.in Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
VersionTest.cmake.in ENH: Overhaul CMake version numbering 2009-03-05 15:17:07 -05:00
While-Endwhile-Alone-Args.cmake add testcases for while()/endwhile() errors 2012-03-01 21:20:49 +01:00
While-Endwhile-Alone.cmake add testcases for while()/endwhile() errors 2012-03-01 21:20:49 +01:00
While-Endwhile-Mismatch.cmake add testcases for while()/endwhile() errors 2012-03-01 21:20:49 +01:00
While-Missing-Argument.cmake add testcases for while()/endwhile() errors 2012-03-01 21:20:49 +01:00
While-Missing-Endwhile.cmake add testcases for while()/endwhile() errors 2012-03-01 21:20:49 +01:00
WhileTest.cmake.in Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00