ENH: make sure CTEST_CURL_OPTIONS work from script mode
This commit is contained in:
parent
3e0db72aaa
commit
be7824c369
|
@ -63,3 +63,6 @@ TimeOut: @DART_TESTING_TIMEOUT@
|
||||||
|
|
||||||
UseLaunchers: @CTEST_USE_LAUNCHERS@
|
UseLaunchers: @CTEST_USE_LAUNCHERS@
|
||||||
CurlOptions: @CTEST_CURL_OPTIONS@
|
CurlOptions: @CTEST_CURL_OPTIONS@
|
||||||
|
# warning, if you add new options here that have to do with submit,
|
||||||
|
# you have to update cmCTestSubmitCommand.cxx
|
||||||
|
|
||||||
|
|
|
@ -91,6 +91,8 @@ cmCTestGenericHandler* cmCTestSubmitCommand::InitializeHandler()
|
||||||
this->CTest->SetCTestConfiguration("TriggerSite", ctestTriggerSite);
|
this->CTest->SetCTestConfiguration("TriggerSite", ctestTriggerSite);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile,
|
||||||
|
"CurlOptions", "CTEST_CURL_OPTIONS");
|
||||||
this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile,
|
this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile,
|
||||||
"DropSiteUser", "CTEST_DROP_SITE_USER");
|
"DropSiteUser", "CTEST_DROP_SITE_USER");
|
||||||
this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile,
|
this->CTest->SetCTestConfigurationFromCMakeVariable(this->Makefile,
|
||||||
|
|
Loading…
Reference in New Issue