CTest: Introduce CTEST_SUBMIT_URL variable
The drop location currently needs to be specified in three variables: CTEST_DROP_METHOD
, CTEST_DROP_SITE
, and CTEST_DROP_LOCATION
. It would be more convenient to define them all using a single URL.
CTEST_SUBMIT_URL
should be set to ${CTEST_DROP_METHOD}://${CTEST_DROP_SITE}${CTEST_DROP_LOCATION}
if not defined.
Bonus: Accept a SUBMIT_URL
argument in the ctest_submit()
function that defaults to CTEST_SUBMIT_URL
.