# HG changeset patch # User Sebastien Decugis # Date 1278569771 -32400 # Node ID 9a9a9e1ed4cbc31c2450b87f24120d15d67477a5 # Parent 7029e6b587acd589ef6e91f5a4ba4f6ea97b16f0 Added cron job information diff -r 7029e6b587ac -r 9a9a9e1ed4cb contrib/nightly_tests/README --- 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