Mercurial > hg > freeDiameter
annotate 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 |
rev | line source |
---|---|
344 | 1 This folder contains information and scripts to run a new test configuration for nightly builds |
2 and reporting the results to freeDiameter dashboard | |
3 http://www.freediameter.net/CDash/index.php?project=freeDiameter | |
4 | |
5 The information comes from: | |
6 http://www.itk.org/Wiki/CMake_Testing_With_CTest | |
7 http://www.itk.org/Wiki/CMake_Scripting_Of_CTest | |
8 http://www.itk.org/Wiki/CTest:Buildserver | |
9 | |
10 | |
11 These are the instructions to setup a new build slave for the freeDiameter buildserver: | |
12 | |
13 1) Install all dependencies for freeDiameter. See the "prereqs" file. | |
345 | 14 $ sudo aptitude install `wget http://www.freediameter.net/hg/freeDiameter/raw-file/tip/contrib/nightly_tests/prereqs -O -` |
344 | 15 |
16 2) Create a directory ~/fDtests | |
345 | 17 $ cd |
347
69ec5dcc1fb2
Fix a couple of glinches
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
345
diff
changeset
|
18 $ mkdir fDtests |
345 | 19 $ cd fDtests |
344 | 20 |
21 3) Retrieve the runtests.sh script and save in this directory | |
345 | 22 $ wget http://www.freediameter.net/hg/freeDiameter/raw-file/tip/contrib/nightly_tests/runtests.sh |
23 $ chmod +x runtests.sh | |
344 | 24 |
25 4) Create a file local.cmake defining the name of the build slave in this directory also. | |
345 | 26 $ echo "SET(CTEST_SITE \""`hostname`"\")" > local.cmake |
344 | 27 |
345 | 28 5) Run the script once to check it works properly |
29 | |
30 6) Set up a crontab to run the script |