CMake/Tests/CMakeTests
Daniel Pfeifer 7a649111cd Use string(APPEND) in Tests
Automate with:

find Tests -type f -print0 | xargs -0 perl -i -0pe \
's/set\(([a-zA-Z0-9_]+)(\s+)"\$\{\1\}([^"])/string(APPEND \1\2"\3/g'
2016-07-28 00:43:04 +02: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
CMakeHostSystemInformation-BadArg1.cmake Add cmake_host_system_information command 2013-06-19 08:46:37 -04:00
CMakeHostSystemInformation-BadArg2.cmake Add cmake_host_system_information command 2013-06-19 08:46:37 -04:00
CMakeHostSystemInformation-BadArg3.cmake Add cmake_host_system_information command 2013-06-19 08:46:37 -04:00
CMakeHostSystemInformation-QueryList.cmake Add cmake_host_system_information command 2013-06-19 08:46:37 -04:00
CMakeHostSystemInformationTest.cmake.in Add cmake_host_system_information command 2013-06-19 08:46:37 -04:00
CMakeLists.txt Tests: Add more signature tests to RunCMake.configure_file test 2015-03-09 09:17:59 -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 Replace string(REGEX REPLACE) with string(REPLACE) where possible 2014-04-14 18:17:05 +02:00
CheckSourceTreeTest.cmake.in Tests: Fix CheckSourceTree test when build is under source (#15566) 2015-05-14 09:50:34 -04:00
CompilerIdVendorTest.cmake.in Add alternate per-vendor compiler id detection 2010-02-01 09:03:05 -05:00
DummyToolchain.cmake ENH: remove support for presetting CMAKE_SYSTEM_INFO_FILE, 2007-07-02 13:29:36 -04:00
ELFTest.cmake.in Tests: Fix CMake.ELF test with read-only source (#15489) 2015-04-01 16:34:04 -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 Clean up usage of if(... MATCHES regex) followed string(REGEX REPLACE regex) 2014-04-14 18:16:58 +02: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-Glob-NoArg.cmake file: remove dead code 2012-11-02 17:10:06 +01: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
File-TIMESTAMP-BadArg1.cmake CMake: Add TIMESTAMP subcommand to string and file commands 2012-12-05 10:39:10 -05:00
File-TIMESTAMP-NoFile.cmake CMake: Add TIMESTAMP subcommand to string and file commands 2012-12-05 10:39:10 -05:00
File-TIMESTAMP-NotBogus.cmake CMake: Add TIMESTAMP subcommand to string and file commands 2012-12-05 10:39:10 -05:00
File-TIMESTAMP-Works.cmake CMake: Add TIMESTAMP subcommand to string and file commands 2012-12-05 10:39:10 -05:00
FileDownloadBadHashTest.cmake.in file DOWNLOAD: Add test for bad hash. 2014-01-15 19:43:23 -05:00
FileDownloadInput.png Improve FILE(DOWNLOAD) and ExternalProject. 2010-05-27 12:21:56 -04:00
FileDownloadTest.cmake.in file DOWNLOAD: Test non-zero return status. 2014-01-15 19:43:25 -05:00
FileTest.cmake.in CMake: Add TIMESTAMP subcommand to string and file commands 2012-12-05 10:39: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
GetPropertyTest.cmake.in Tests: Move command failure cases into RunCMake infrastructure 2015-07-14 10:25:38 -04:00
IfTest.cmake.in Tests: Move command failure cases into RunCMake infrastructure 2015-07-14 10:25:38 -04:00
ImplicitLinkInfoTest.cmake.in CMakeParseImplicitLinkInfo: Exclude libclang_rt libraries 2016-07-11 16:30:02 -04:00
IncludeTest.cmake.in Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
ListTest.cmake.in Tests: Move command failure cases into RunCMake infrastructure 2015-07-14 10:25:38 -04:00
Make_Directory-NoArg.cmake file: remove dead code 2012-11-02 17:10:06 +01: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 Use string(APPEND) in Tests 2016-07-28 00:43:04 +02:00
PolicyCheckTest.cmake.in Tests: Verify policies are introduced only in "official" versions 2013-08-28 17:22:49 -04:00
ProcessorCountTest.cmake.in ProcessorCount test: require SystemInformation process to work 2013-01-25 00:31:41 +01:00
PushCheckStateTest.cmake.in PushCheckStateTest: Update test to check CMAKE_EXTRA_INCLUDE_FILES 2016-03-31 11:11:32 -04: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
String-TIMESTAMP-AllSpecifiers.cmake CMake: Add TIMESTAMP subcommand to string and file commands 2012-12-05 10:39:10 -05:00
String-TIMESTAMP-BadArg1.cmake CMake: Add TIMESTAMP subcommand to string and file commands 2012-12-05 10:39:10 -05:00
String-TIMESTAMP-BadArg2.cmake CMake: Add TIMESTAMP subcommand to string and file commands 2012-12-05 10:39:10 -05:00
String-TIMESTAMP-BadArg3.cmake CMake: Add TIMESTAMP subcommand to string and file commands 2012-12-05 10:39:10 -05:00
String-TIMESTAMP-CustomFormatLocal.cmake CMake: Add TIMESTAMP subcommand to string and file commands 2012-12-05 10:39:10 -05:00
String-TIMESTAMP-CustomFormatUTC.cmake CMake: Add TIMESTAMP subcommand to string and file commands 2012-12-05 10:39:10 -05:00
String-TIMESTAMP-DefaultFormatLocal.cmake CMake: Add TIMESTAMP subcommand to string and file commands 2012-12-05 10:39:10 -05:00
String-TIMESTAMP-DefaultFormatUTC.cmake CMake: Add TIMESTAMP subcommand to string and file commands 2012-12-05 10:39:10 -05:00
String-TIMESTAMP-IncompleteSpecifier.cmake CMake: Add TIMESTAMP subcommand to string and file commands 2012-12-05 10:39:10 -05:00
String-TIMESTAMP-UnixTime.cmake CMake: Extend TIMESTAMP sub-commands with new unix time format specifier 2016-02-18 10:30:13 -05:00
String-TIMESTAMP-UnknownSpecifier.cmake CMake: Add TIMESTAMP subcommand to string and file commands 2012-12-05 10:39:10 -05:00
StringTest.cmake.in CMake: Extend TIMESTAMP sub-commands with new unix time format specifier 2016-02-18 10:30:13 -05:00
StringTestScript.cmake string: Tolerate SUBSTRING length exceeding end index 2014-11-13 11:04:52 -05:00
ToolchainTest.cmake.in Make platform information files specific to the CMake version 2012-08-24 10:52:23 -04:00
VariableWatchTest.cmake.in Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
VersionTest.cmake.in cmSystemTools: reimplement verson comparison without sscanf() 2014-10-31 11:31:31 -04:00
WhileTest.cmake.in Use string(APPEND) in Tests 2016-07-28 00:43:04 +02:00