CMake/Tests/CMakeTests
Brad King 65a3c68259 Tests: Make CMake.FileDownload invalid host name case more robust
Use a well-defined `.invalid` top-level domain instead of assuming there
is no `.png` top-level domain.  Extend the timeout of this one case to
30 seconds to give DNS lookups a chance to fail instead of timing out.
2020-01-21 09:37:45 -05: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 gitattributes: prefer eol=lf to crlf=input 2017-08-23 13:30:00 -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 for in-source non-dashboard builds 2018-05-03 09:35:45 -04: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 cmake_host_system_information: Add more keywords 2017-06-05 13:51:30 -04:00
CMakeLists.txt Tests: Fix CMake.FileDownload test failures not reported 2020-01-15 10:03:35 -05: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
CompilerIdVendorTest.cmake.in CMakeDetermineCompilerId: check with and without user-specified flags 2017-02-06 13:12:06 -05:00
DummyToolchain.cmake ENH: remove support for presetting CMAKE_SYSTEM_INFO_FILE, 2007-07-02 13:29:36 -04:00
ELFTest.cmake.in Property: Add INSTALL_REMOVE_ENVIROMENT_RPATH property 2019-07-25 12:30:23 -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-SHA3_224-Works.cmake file: Add support for SHA-3 algorithms 2016-11-10 16:41:45 -05:00
File-SHA3_256-Works.cmake file: Add support for SHA-3 algorithms 2016-11-10 16:41:45 -05:00
File-SHA3_384-Works.cmake file: Add support for SHA-3 algorithms 2016-11-10 16:41:45 -05:00
File-SHA3_512-Works.cmake file: Add support for SHA-3 algorithms 2016-11-10 16:41:45 -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 Tests: make tests pass with SOURCE_DATE_EPOCH set 2017-01-30 09:25:44 -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 Tests: Fix file:// URLs given to curl 2017-02-10 13:10:07 -05:00
FileDownloadInput.png Reduce size of PNG images 2019-01-25 09:14:51 -05:00
FileDownloadTest.cmake.in Tests: Make CMake.FileDownload invalid host name case more robust 2020-01-21 09:37:45 -05:00
FileTest.cmake.in file: Add support for SHA-3 algorithms 2016-11-10 16:41:45 -05:00
FileTestScript.cmake file(DOWNLOAD): Don't fail if given just a filename to write to 2020-01-15 10:03:35 -05:00
FileUploadTest.cmake.in Reduce size of PNG images 2019-01-25 09:14:51 -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 Tests: Fix CMake.GetPrerequisites test config message 2017-04-03 10:45:03 -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 Remove now-unused code once used on IRIX 2019-01-11 13:50:46 -05:00
IncludeTest.cmake.in Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
ListTest.cmake.in list: Allow inserting at the end of a list 2018-07-05 13:53:49 -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 Tests: Update ModuleNotices test for new notice 2016-09-27 15:18:07 -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 CMakePushCheckState: Fix cmake_push_check_state RESET argument 2017-07-12 15:09:16 -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-SHA3_224-Works.cmake string: Add support for SHA-3 algorithms 2016-11-10 16:40:43 -05:00
String-SHA3_256-Works.cmake string: Add support for SHA-3 algorithms 2016-11-10 16:40:43 -05:00
String-SHA3_384-Works.cmake string: Add support for SHA-3 algorithms 2016-11-10 16:40:43 -05:00
String-SHA3_512-Works.cmake string: Add support for SHA-3 algorithms 2016-11-10 16:40:43 -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-MonthWeekNames.cmake string(TIMESTAMP ...): add '%a' and '%b' format specifiers 2016-09-12 19:07:38 +03:00
String-TIMESTAMP-UnixTime.cmake Tests: Fix TIMESTAMP-UnixTime test under SOURCE_DATE_EPOCH=1 2018-02-26 10:35:30 -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 cmMakefile: Fix @CMAKE_CURRENT_LIST_LINE@ for ExpandVariablesInStringNew 2018-12-12 08:29:14 -05:00
StringTestScript.cmake cmMakefile: Fix @CMAKE_CURRENT_LIST_LINE@ for ExpandVariablesInStringNew 2018-12-12 08:29:14 -05:00
ToolchainTest.cmake.in Make CMAKE_HOST_SYSTEM_NAME available in scripting context 2017-02-19 19:27:34 +01:00
VariableWatchTest.cmake.in Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
VersionTest.cmake.in Add additional <= and >= comparison operators 2016-08-09 09:30:34 -04:00
WhileTest.cmake.in Use string(APPEND) in Tests 2016-07-28 00:43:04 +02:00