Navigation


Changeset 410:3ed2c84d9e23 in freeDiameter


Ignore:
Timestamp:
Jul 8, 2010, 4:45:41 PM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Couple of fixes and improvements

Location:
contrib/nightly_tests
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • contrib/nightly_tests/README

    r408 r410  
    1313
    14141) Install all dependencies for freeDiameter. See the "prereqs" file (for Debian/Ubuntu).
    15         $ sudo aptitude install `wget http://www.freediameter.net/hg/freeDiameter/raw-file/tip/contrib/nightly_tests/prereqs -O - | grep -v -e "$#"`
     15        $ sudo aptitude install `wget http://www.freediameter.net/hg/freeDiameter/raw-file/tip/contrib/nightly_tests/prereqs -O - | grep -v -e "^#"`
    1616
    17172) Create the "test" database for app_acct test (we assume the tests are run as user "test" here)
     
    5656
    57577) Set up a crontab to run the script
     58        $ wget http://www.freediameter.net/hg/freeDiameter/raw-file/tip/contrib/nightly_tests/cronjob.sh
     59        $ chmod +x cronjob.sh
    5860        $ crontab -l
    59 0 0 * * * /home/test/fDbuild/runtests.sh > /home/test/fDbuild/runtests.log 2>&1
     610 0 * * * /home/test/fDbuild/cronjob.sh > /home/test/fDbuild/cronjob.log 2>&1
  • contrib/nightly_tests/runtests.sh

    r354 r410  
    4848for t in $(cat $WORKDIR/2_tests.list | grep -v -e "^#"); do
    4949   # Create the work environment if needed
    50    if [ ! -d $WORKDIR/$t]; then
     50   if [ ! -d $WORKDIR/$t ]; then
    5151       mkdir $WORKDIR/$t
    5252   fi
Note: See TracChangeset for help on using the changeset viewer.