testHarness:

allow overriding CTestConfig.cmake values for using local site CDash service or
for using personnal (user space) CDash service. The expected order of precedence
is respected: the personnal settings will override the site settings, and the
site settings will override the default settings for the foam-extend CDash
service hosted on SourceForge.net.
This commit is contained in:
Martin Beaudoin 2015-09-04 09:35:20 -04:00 committed by Hrvoje Jasak
parent ad3bd3074a
commit a6bccbe942
2 changed files with 24 additions and 0 deletions

View file

@ -6,6 +6,10 @@
## ENABLE_TESTING() ## ENABLE_TESTING()
## INCLUDE(CTest) ## INCLUDE(CTest)
# These settings will allow you to publish your dashboards results
# on the foam-extend CDash service hosted on SourceForge.Net
# See here: http://foam-extend.sourceforge.net/CDash/index.php
#
set(CTEST_PROJECT_NAME "foam-extend-3.2") set(CTEST_PROJECT_NAME "foam-extend-3.2")
set(CTEST_NIGHTLY_START_TIME "01:00:00 UTC") set(CTEST_NIGHTLY_START_TIME "01:00:00 UTC")
@ -13,3 +17,11 @@ set(CTEST_DROP_METHOD "http")
set(CTEST_DROP_SITE "foam-extend.sourceforge.net") set(CTEST_DROP_SITE "foam-extend.sourceforge.net")
set(CTEST_DROP_LOCATION "/CDash/submit.php?project=foam-extend-3.2") set(CTEST_DROP_LOCATION "/CDash/submit.php?project=foam-extend-3.2")
set(CTEST_DROP_SITE_CDASH TRUE) set(CTEST_DROP_SITE_CDASH TRUE)
# We can override those variables for local sites so you can use
# your own site CDash service
include($ENV{FOAM_SITE_DIR}/etc/CTestConfig.cmake OPTIONAL)
# We can override those variables from user space so you can use
# your own personal CDash service
include($ENV{WM_PROJECT_USER_DIR}/etc/CTestConfig.cmake OPTIONAL)

View file

@ -6,6 +6,10 @@
## ENABLE_TESTING() ## ENABLE_TESTING()
## INCLUDE(CTest) ## INCLUDE(CTest)
# These settings will allow you to publish your dashboards results
# on the foam-extend CDash service hosted on SourceForge.Net
# See here: http://foam-extend.sourceforge.net/CDash/index.php
#
set(CTEST_PROJECT_NAME "foam-extend-3.2") set(CTEST_PROJECT_NAME "foam-extend-3.2")
set(CTEST_NIGHTLY_START_TIME "01:00:00 UTC") set(CTEST_NIGHTLY_START_TIME "01:00:00 UTC")
@ -13,3 +17,11 @@ set(CTEST_DROP_METHOD "http")
set(CTEST_DROP_SITE "foam-extend.sourceforge.net") set(CTEST_DROP_SITE "foam-extend.sourceforge.net")
set(CTEST_DROP_LOCATION "/CDash/submit.php?project=foam-extend-3.2") set(CTEST_DROP_LOCATION "/CDash/submit.php?project=foam-extend-3.2")
set(CTEST_DROP_SITE_CDASH TRUE) set(CTEST_DROP_SITE_CDASH TRUE)
# We can override those variables for local sites so you can use
# your own site CDash service
include($ENV{FOAM_SITE_DIR}/etc/CTestConfig.cmake OPTIONAL)
# We can override those variables from user space so you can use
# your own personal CDash service
include($ENV{WM_PROJECT_USER_DIR}/etc/CTestConfig.cmake OPTIONAL)