changeset 339:ba59301627b9

Attempt to use CDash to automatize testing of the project
author Sebastien Decugis <sdecugis@nict.go.jp>
date Fri, 25 Jun 2010 15:46:22 +0900
parents 6c3ca941f836
children 81821e9f6988
files CMakeLists.txt CTestConfig.cmake
diffstat 2 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/CMakeLists.txt	Tue Jun 22 17:22:50 2010 +0900
+++ b/CMakeLists.txt	Fri Jun 25 15:46:22 2010 +0900
@@ -18,6 +18,8 @@
 
 # Some subfolders may have tests
 ENABLE_TESTING()
+# And actually we are now using CTest advanced features such as CDash, so we need this:
+INCLUDE(CTest)
 
 # CMake version
 CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/CTestConfig.cmake	Fri Jun 25 15:46:22 2010 +0900
@@ -0,0 +1,10 @@
+# Configuration for sumitting the test result.
+# Check http://www.freediameter.net/CDash for detail.
+
+set(CTEST_PROJECT_NAME "freeDiameter")
+set(CTEST_NIGHTLY_START_TIME "00:00:00 JST")
+
+set(CTEST_DROP_METHOD "http")
+set(CTEST_DROP_SITE "www.freediameter.net")
+set(CTEST_DROP_LOCATION "/CDash/submit.php?project=freeDiameter")
+set(CTEST_DROP_SITE_CDASH TRUE)
"Welcome to our mercurial repository"