Skip to content

Commit

Permalink
CTestConfig: allow nightly build submission using https
Browse files Browse the repository at this point in the history
The idea is that one may set `CTEST_DROP_METHOD` in custom CTest
scripting.
  • Loading branch information
DerDakon authored and bradking committed Jun 9, 2020
1 parent cfbd274 commit 42dcc2b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CTestConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
set(CTEST_PROJECT_NAME "CMake")
set(CTEST_NIGHTLY_START_TIME "1:00:00 UTC")

set(CTEST_DROP_METHOD "http")
if(NOT CTEST_DROP_METHOD STREQUAL "https")
set(CTEST_DROP_METHOD "http")
endif()
set(CTEST_DROP_SITE "open.cdash.org")
set(CTEST_DROP_LOCATION "/submit.php?project=CMake")
set(CTEST_DROP_SITE_CDASH TRUE)
Expand Down
4 changes: 3 additions & 1 deletion Utilities/Sphinx/CTestConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
set(CTEST_PROJECT_NAME "CMake")
set(CTEST_NIGHTLY_START_TIME "1:00:00 UTC")

set(CTEST_DROP_METHOD "http")
if(NOT CTEST_DROP_METHOD STREQUAL "https")
set(CTEST_DROP_METHOD "http")
endif()
set(CTEST_DROP_SITE "open.cdash.org")
set(CTEST_DROP_LOCATION "/submit.php?project=CMake")
set(CTEST_DROP_SITE_CDASH TRUE)
Expand Down

0 comments on commit 42dcc2b

Please sign in to comment.