diff options
author | Regina Pfeifer <regina@mailbox.org> | 2018-11-28 21:29:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-01-16 15:34:08 (GMT) |
commit | 65e725c95756a4e2348e9fb52b3d5aca7ee21115 (patch) | |
tree | 028c961332270c4a630bf2a65af9c7ef7bda628e /Source/cmCTest.cxx | |
parent | 65f1fc9d6329feb2d48ee986d4243166a66049af (diff) | |
download | CMake-65e725c95756a4e2348e9fb52b3d5aca7ee21115.zip CMake-65e725c95756a4e2348e9fb52b3d5aca7ee21115.tar.gz CMake-65e725c95756a4e2348e9fb52b3d5aca7ee21115.tar.bz2 |
CTest: Add option SubmitURL
Fixes: #18610
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r-- | Source/cmCTest.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index 881da48..219ad14 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -2628,8 +2628,8 @@ void cmCTest::SetCTestConfiguration(const char* name, const char* value, std::string cmCTest::GetSubmitURL() { - std::string url; - { + std::string url = this->GetCTestConfiguration("SubmitURL"); + if (url.empty()) { std::string method = this->GetCTestConfiguration("DropMethod"); std::string user = this->GetCTestConfiguration("DropSiteUser"); std::string password = this->GetCTestConfiguration("DropSitePassword"); |