Navigation


Changeset 345:0a5169e3fa25 in freeDiameter


Ignore:
Timestamp:
Jun 29, 2010, 3:15:59 PM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Update

Location:
contrib/nightly_tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • contrib/nightly_tests/README

    r344 r345  
    1212
    13131) Install all dependencies for freeDiameter. See the "prereqs" file.
     14$ sudo aptitude install `wget http://www.freediameter.net/hg/freeDiameter/raw-file/tip/contrib/nightly_tests/prereqs -O -`
    1415
    15162) Create a directory ~/fDtests
     17$ cd
     18$ make fDtests
     19$ cd fDtests
    1620
    17213) Retrieve the runtests.sh script and save in this directory
     22$ wget http://www.freediameter.net/hg/freeDiameter/raw-file/tip/contrib/nightly_tests/runtests.sh
     23$ chmod +x runtests.sh
    1824
    19254) Create a file local.cmake defining the name of the build slave in this directory also.
     26$ echo "SET(CTEST_SITE \""`hostname`"\")" > local.cmake
    2027
    21 5)
     285) Run the script once to check it works properly
     29
     306) Set up a crontab to run the script
  • contrib/nightly_tests/runtests.sh

    r344 r345  
    55
    66ROOTDIR=$HOME/fDtests
    7 if [ -d $ROOTDIR ]; then
     7if [ ! -d $ROOTDIR ]; then
    88   echo "The working directory $ROOTDIR does not exist. Please create or edit the script."
    99   exit 1;
Note: See TracChangeset for help on using the changeset viewer.