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..) --- CTestConfig.cmake | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 CTestConfig.cmake (limited to 'CTestConfig.cmake') 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