From d4ea7066e0271aa180718bb7b6c0d5dd5f686931 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sat, 30 Oct 2010 10:43:58 +0200 Subject: Added CtestConfig.cmake With this we can pull our build results to CDash dashboard (my.cdash.org/index.php?project=rekonq) All you need to do is: - clean your build dir - launch cmake with tests enabled (option -DKDE4_BUILD_TESTS=true. Please add it to your usual build script) - execute "ctest -D Experimental" or "make Experimental" That's it! WARNING: It works here just with cmake 2.8.0 on. (Currently 2.8.2 here..) --- CMakeLists.txt | 4 ++++ CTestConfig.cmake | 13 +++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 CTestConfig.cmake diff --git a/CMakeLists.txt b/CMakeLists.txt index 5e340240..0986f2f2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -76,6 +76,10 @@ ENDIF(KDE4_FOUND) ##### FINAL RESULTS ##### +# create suspance.. +MESSAGE(STATUS "") +MESSAGE(STATUS "") + IF(QT4_FOUND AND KDE4_FOUND) MESSAGE(STATUS " rekonq will be compiled............... YES") SET(REKONQ_CAN_BE_COMPILED true) diff --git a/CTestConfig.cmake b/CTestConfig.cmake new file mode 100644 index 00000000..9fb3d18e --- /dev/null +++ b/CTestConfig.cmake @@ -0,0 +1,13 @@ +## This file should be placed in the root directory of your project. +## Then modify the CMakeLists.txt file in the root directory of your +## project to incorporate the testing dashboard. +## # The following are required to uses Dart and the Cdash dashboard +## ENABLE_TESTING() +## INCLUDE(CTest) +set(CTEST_PROJECT_NAME "rekonq") +set(CTEST_NIGHTLY_START_TIME "20:00:00 CET") + +set(CTEST_DROP_METHOD "http") +set(CTEST_DROP_SITE "my.cdash.org") +set(CTEST_DROP_LOCATION "/submit.php?project=rekonq") +set(CTEST_DROP_SITE_CDASH TRUE) -- cgit v1.2.1