CMake/Tests/CMakeTests
Brad King 332ee3e305 Tests: Fix CheckSourceTree test when build is under source (#15566)
Since the build tree will populate content under the source tree
the test cannot reliably check that the source tree is pristine.
Simply skip most of the test in this case.
2015-05-14 09:50:34 -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
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
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-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 get_property: Drop test for builtin property documentation 2013-10-16 09:22:36 -04: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 test failures caused by regexp-sensitive characters in the build paths 2013-06-03 16:51:21 +02:00
ImplicitLinkInfoTest.cmake.in Sanitize linker name to parse implicit link line (#14154) 2013-05-17 08:47:35 -04:00
IncludeTest.cmake.in Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
List-Get-CMP0007-Warn.cmake list: add tests for CMP0007 behavior 2012-11-02 17:10:07 +01:00
List-Get-Invalid-Index.cmake Add tests for list() invalid arguments 2012-11-02 17:08:49 +01:00
List-Insert-Invalid-Index.cmake Add tests for list() invalid arguments 2012-11-02 17:08:49 +01:00
List-Invalid-Subcommand.cmake Consolidate list() argument count testing 2012-11-02 17:09:55 +01:00
List-Length-Too-Many-Arguments.cmake Add tests for list() argument count 2012-11-02 17:08:44 +01:00
List-No-Arguments.cmake Add tests for list() argument count 2012-11-02 17:08:44 +01:00
List-Remove_At-Invalid-Index.cmake Add tests for list() invalid arguments 2012-11-02 17:08:49 +01:00
List-Remove_At-Nonexistent-List.cmake Add tests for list() invalid arguments 2012-11-02 17:08:49 +01:00
List-Remove_Duplicates-Nonexistent-List.cmake Add tests for list() invalid arguments 2012-11-02 17:08:49 +01:00
List-Remove_Duplicates-Too-Many-Arguments.cmake Add tests for list() argument count 2012-11-02 17:08:44 +01:00
List-Remove_Item-Nonexistent-List.cmake Add tests for list() invalid arguments 2012-11-02 17:08:49 +01:00
List-Reverse-Nonexistent-List.cmake Add tests for list() invalid arguments 2012-11-02 17:08:49 +01:00
List-Reverse-Too-Many-Arguments.cmake Add tests for list() argument count 2012-11-02 17:08:44 +01:00
List-Sort-Nonexistent-List.cmake Add tests for list() invalid arguments 2012-11-02 17:08:49 +01:00
List-Sort-Too-Many-Arguments.cmake Add tests for list() argument count 2012-11-02 17:08:44 +01:00
ListTest.cmake.in Fix test failures caused by regexp-sensitive characters in the build paths 2013-06-03 16:51:21 +02: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 ModuleNoticesTest: Do not require "Kitware" copyright 2010-08-17 09:23:35 -04: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 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
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-UnknownSpecifier.cmake CMake: Add TIMESTAMP subcommand to string and file commands 2012-12-05 10:39:10 -05:00
StringTest.cmake.in string: Tolerate SUBSTRING length exceeding end index 2014-11-13 11:04:52 -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
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 Fix test failures caused by regexp-sensitive characters in the build paths 2013-06-03 16:51:21 +02:00