Commit cd0cbf27 authored by Ben Boeckel's avatar Ben Boeckel Committed by Kitware Robot
Browse files

Merge topic 'proper-cdash-location'

b65d8fc8

 cdash: set CDash URL based on whether CMB is enabled
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Reviewed-by: default avatarRobert Maynard <robert.maynard@kitware.com>
Merge-request: !163
parents 7374e89e b65d8fc8
...@@ -109,6 +109,14 @@ function (superbuild_add_packaging) ...@@ -109,6 +109,14 @@ function (superbuild_add_packaging)
endforeach () endforeach ()
endfunction () endfunction ()
macro (superbuild_setup_tests)
if (cmb_enabled)
set(CTEST_DROP_LOCATION "/submit.php?project=CMB")
else (smtk_enabled)
set(CTEST_DROP_LOCATION "/submit.php?project=SMTK")
endif ()
endmacro ()
function (superbuild_add_tests) function (superbuild_add_tests)
set_property(GLOBAL APPEND set_property(GLOBAL APPEND
PROPERTY PROPERTY
......
...@@ -9,5 +9,4 @@ set(CTEST_NIGHTLY_START_TIME "21:00:00 EDT") ...@@ -9,5 +9,4 @@ set(CTEST_NIGHTLY_START_TIME "21:00:00 EDT")
set(CTEST_DROP_METHOD "https") set(CTEST_DROP_METHOD "https")
set(CTEST_DROP_SITE "open.cdash.org") set(CTEST_DROP_SITE "open.cdash.org")
set(CTEST_DROP_LOCATION "/submit.php?project=CMB")
set(CTEST_DROP_SITE_CDASH TRUE) set(CTEST_DROP_SITE_CDASH TRUE)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment