Mercurial > hg > freeDiameter
changeset 345:0a5169e3fa25
Update
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Tue, 29 Jun 2010 15:15:59 +0900 |
parents | 0e1318e654bc |
children | bb470dce2276 |
files | contrib/nightly_tests/README contrib/nightly_tests/runtests.sh |
diffstat | 2 files changed, 11 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/nightly_tests/README Tue Jun 29 15:07:46 2010 +0900 +++ b/contrib/nightly_tests/README Tue Jun 29 15:15:59 2010 +0900 @@ -11,11 +11,20 @@ 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 +$ make 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) +5) Run the script once to check it works properly + +6) Set up a crontab to run the script
--- a/contrib/nightly_tests/runtests.sh Tue Jun 29 15:07:46 2010 +0900 +++ b/contrib/nightly_tests/runtests.sh Tue Jun 29 15:15:59 2010 +0900 @@ -4,7 +4,7 @@ # and execute them one by one. ROOTDIR=$HOME/fDtests -if [ -d $ROOTDIR ]; then +if [ ! -d $ROOTDIR ]; then echo "The working directory $ROOTDIR does not exist. Please create or edit the script." exit 1; fi