From 8219f897460c8ba04646691f83c0e1392d919c0f Mon Sep 17 00:00:00 2001 From: maier Date: Thu, 19 Sep 2013 23:19:05 +0000 Subject: [PATCH] Update cdash configuration git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30862 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/CTestConfig.cmake | 4 +--- tests/run_testsuite.cmake | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/deal.II/CTestConfig.cmake b/deal.II/CTestConfig.cmake index b6ef110194..6967d09636 100644 --- a/deal.II/CTestConfig.cmake +++ b/deal.II/CTestConfig.cmake @@ -20,10 +20,8 @@ SET(CTEST_PROJECT_NAME "deal.II") -SET(CTEST_NIGHTLY_START_TIME "1:00:00 UTC") - SET(CTEST_DROP_METHOD "http") -SET(CTEST_DROP_SITE "my.cdash.org") +SET(CTEST_DROP_SITE "cdash.kyomu.43-1.org") SET(CTEST_DROP_LOCATION "/submit.php?project=deal.II") SET(CTEST_DROP_SITE_CDASH TRUE) diff --git a/tests/run_testsuite.cmake b/tests/run_testsuite.cmake index 4b50d1a543..44e1548a9b 100644 --- a/tests/run_testsuite.cmake +++ b/tests/run_testsuite.cmake @@ -293,6 +293,24 @@ ENDIF() MESSAGE("-- CTEST_BUILD_NAME: ${CTEST_BUILD_NAME}") +# +# We require valid svn information for build tests: +# + +IF( "${TRACK}" STREQUAL "Build Tests" + AND NOT DEFINED _svn_WC_REVISION ) + MESSAGE(FATAL_ERROR " +TRACK was set to \"Build Tests\" which requires the source directory to be +under Subversion version control. +" + ) +ELSE() + # if not on trunk, append branch to track: + IF(NOT "${_branch}" STREQUAL "trunk") + SET("${TRACK} - ${_branch}") + ENDIF() +ENDIF() + # # Write revision log: # -- 2.39.5