summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/file-DOWNLOAD/RunCMakeTest.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Tests/RunCMake/file-DOWNLOAD: Add case covering TLS_VERSION valuesBrad King2024-09-241-0/+3
|
* Tests/RunCMake/file-DOWNLOAD: Clarify name of invalid TLS_VERSION caseBrad King2024-09-241-1/+1
| | | | | The test case is about an invalid version specification, not a TLS version unsupported by the server.
* Tests/RunCMake/file-DOWNLOAD: Add option to control TLS_VERIFY failure URLBrad King2024-05-081-1/+3
|
* file(DOWNLOAD|UPLOAD): Add TLS_VERSION option for https connectionsBrad King2024-02-281-0/+6
| | | | | | | Add an option to specify the minimum allowed TLS version for https connections. Issue: #25701
* Tests: Add test for file(DOWNLOAD) with TLS_VERIFYscivision2023-02-101-0/+5
| | | | | | | | | | | Occasionally curl updates introduce errors in https verification. Add an explicit test for this capability, activated by an undocumented option that we can use in CI to specify a URL to test. Co-authored-by: Brad King <brad.king@kitware.com> Fixes: #24405 Issue: #24147 Issue: #24398
* Tests: Honor CMake_TEST_NO_NETWORK in RunCMake.file-DOWNLOADBrad King2022-11-181-1/+4
| | | | | | | Most of the test uses `file://` URLs instead of hitting the network. However, a case covering an invalid hostname does try to make a real connection, expecting it to fail DNS resolution. Turn off that case if we are asked not to hit the network during testing.
* Tests: Move CMake.FileDownload cases into RunCMake.file-DOWNLOADBrad King2022-11-181-0/+13
| | | | | | The RunCMake infrastructure is more well-suited to check the results of each case. It can also report more precisely what went wrong when a case fails.
* Tests: Factor out a RunCMake.file-DOWNLOAD testBrad King2022-11-171-0/+10
Move the `DOWNLOAD-*` cases over from the `RunCMake.file` test.