summaryrefslogtreecommitdiff
path: root/CTestConfig.cmake
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-10-30 10:43:58 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-10-30 10:43:58 +0200
commitd4ea7066e0271aa180718bb7b6c0d5dd5f686931 (patch)
tree2954c8f9777ed15cec110e144a55a349009a956b /CTestConfig.cmake
parentRevert "Fastest last tab recover" (diff)
downloadrekonq-d4ea7066e0271aa180718bb7b6c0d5dd5f686931.tar.xz
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..)
Diffstat (limited to 'CTestConfig.cmake')
-rw-r--r--CTestConfig.cmake13
1 files changed, 13 insertions, 0 deletions
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)