From a6bccbe942628906f018d7aee57b0b77083aee8a Mon Sep 17 00:00:00 2001 From: Martin Beaudoin Date: Fri, 4 Sep 2015 09:35:20 -0400 Subject: [PATCH] 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. --- CTestConfig.cmake | 12 ++++++++++++ .../3.2/CMakeFiles/CTestConfig.cmake.foam-extend | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/CTestConfig.cmake b/CTestConfig.cmake index 1190369a2..12f1b878e 100644 --- a/CTestConfig.cmake +++ b/CTestConfig.cmake @@ -6,6 +6,10 @@ ## ENABLE_TESTING() ## 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_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_LOCATION "/CDash/submit.php?project=foam-extend-3.2") 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) diff --git a/testHarness/foam-extend/3.2/CMakeFiles/CTestConfig.cmake.foam-extend b/testHarness/foam-extend/3.2/CMakeFiles/CTestConfig.cmake.foam-extend index 1190369a2..12f1b878e 100644 --- a/testHarness/foam-extend/3.2/CMakeFiles/CTestConfig.cmake.foam-extend +++ b/testHarness/foam-extend/3.2/CMakeFiles/CTestConfig.cmake.foam-extend @@ -6,6 +6,10 @@ ## ENABLE_TESTING() ## 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_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_LOCATION "/CDash/submit.php?project=foam-extend-3.2") 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)