Mercurial > hg > freeDiameter
changeset 408:9a9a9e1ed4cb
Added cron job information
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Thu, 08 Jul 2010 15:16:11 +0900 |
parents | 7029e6b587ac |
children | c2fb5b26bfcb 3ed2c84d9e23 |
files | contrib/nightly_tests/README |
diffstat | 1 files changed, 11 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/nightly_tests/README Thu Jul 08 15:15:59 2010 +0900 +++ b/contrib/nightly_tests/README Thu Jul 08 15:16:11 2010 +0900 @@ -1,16 +1,17 @@ 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 +and reporting the results to freeDiameter dashboard at: + 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 +The information gathered here mostly comes from the following pages: + 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: +INSTRUCTIONS to setup a new build slave for the freeDiameter buildserver: -1) Install all dependencies for freeDiameter. See the "prereqs" file. +1) Install all dependencies for freeDiameter. See the "prereqs" file (for Debian/Ubuntu). $ sudo aptitude install `wget http://www.freediameter.net/hg/freeDiameter/raw-file/tip/contrib/nightly_tests/prereqs -O - | grep -v -e "$#"` 2) Create the "test" database for app_acct test (we assume the tests are run as user "test" here) @@ -54,3 +55,5 @@ 6) Run the script once to check it works properly 7) Set up a crontab to run the script + $ crontab -l +0 0 * * * /home/test/fDbuild/runtests.sh > /home/test/fDbuild/runtests.log 2>&1