CMake/Tests/RunCMake/ctest_submit/CTestConfig.cmake.in
Brad King 713182de39 Tests: Make RunCMake.ctest_submit invalid host name case more robust
Use a well-defined `.invalid` top-level domain.  This follows the
pattern from commit 65a3c68259 (Tests: Make CMake.FileDownload invalid
host name case more robust, 2020-01-21, v3.17.0-rc1~120^2).

Add the invalid name to `ENV{no_proxy}` because DNS lookup failure is
expected.  This follows the pattern from commit c0b1f5f30c (Tests: Add
host to ENV{no_proxy} when DNS lookup failure is expected, 2021-01-29,
v3.20.0-rc1~79^2).
2024-03-12 10:41:09 -04:00

6 lines
220 B
CMake

# Intentionally leave out other upload-related CTestConfig.cmake settings
# so that any ctest_submit calls fail with an error message.
set(CTEST_DROP_METHOD "@CASE_DROP_METHOD@")
set(CTEST_DROP_SITE "@CASE_DROP_SITE@")