From 9d01f191ed9da4566b6e4f411808b3da61fa71e4 Mon Sep 17 00:00:00 2001 From: Frank Gaede <frank.gaede@desy.de> Date: Thu, 19 Feb 2015 12:47:22 +0000 Subject: [PATCH] - enable tests and cdash --- examples/CMakeLists.txt | 2 ++ examples/CTestConfig.cmake | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index fa20919fe..b794abbb1 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -15,6 +15,8 @@ cmake_minimum_required(VERSION 2.8.3 FATAL_ERROR) project(DD4hepExample) +option(BUILD_TESTING "Enable and build tests" ON) + #---Testing------------------------------------------------------------------------- if(BUILD_TESTING) include(CTest) diff --git a/examples/CTestConfig.cmake b/examples/CTestConfig.cmake index d69479965..f7f3ee0d5 100644 --- a/examples/CTestConfig.cmake +++ b/examples/CTestConfig.cmake @@ -4,10 +4,10 @@ ## # The following are required to uses Dart and the Cdash dashboard ## ENABLE_TESTING() ## INCLUDE(CTest) -set(CTEST_PROJECT_NAME "DD4hep") +set(CTEST_PROJECT_NAME "DD4hepExamples") set(CTEST_NIGHTLY_START_TIME "01:00:00 UTC") set(CTEST_DROP_METHOD "http") set(CTEST_DROP_SITE "aidasoft.desy.de") -set(CTEST_DROP_LOCATION "/CDash/submit.php?project=DD4hep") +set(CTEST_DROP_LOCATION "/CDash/submit.php?project=DD4hepExamples") set(CTEST_DROP_SITE_CDASH TRUE) -- GitLab