Mercurial > hg > freeDiameter
view contrib/nightly_tests/README @ 347:69ec5dcc1fb2
Fix a couple of glinches
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Tue, 29 Jun 2010 16:08:08 +0900 |
parents | 0a5169e3fa25 |
children | 2521e4d91dac |
line wrap: on
line source
This folder contains information and scripts to run a new test configuration for nightly builds and reporting the results to freeDiameter dashboard http://www.freediameter.net/CDash/index.php?project=freeDiameter The information comes from: http://www.itk.org/Wiki/CMake_Testing_With_CTest http://www.itk.org/Wiki/CMake_Scripting_Of_CTest http://www.itk.org/Wiki/CTest:Buildserver These are the instructions to setup a new build slave for the freeDiameter buildserver: 1) Install all dependencies for freeDiameter. See the "prereqs" file. $ sudo aptitude install `wget http://www.freediameter.net/hg/freeDiameter/raw-file/tip/contrib/nightly_tests/prereqs -O -` 2) Create a directory ~/fDtests $ cd $ mkdir fDtests $ cd fDtests 3) Retrieve the runtests.sh script and save in this directory $ wget http://www.freediameter.net/hg/freeDiameter/raw-file/tip/contrib/nightly_tests/runtests.sh $ chmod +x runtests.sh 4) Create a file local.cmake defining the name of the build slave in this directory also. $ echo "SET(CTEST_SITE \""`hostname`"\")" > local.cmake 5) Run the script once to check it works properly 6) Set up a crontab to run the script