Changeset 410:3ed2c84d9e23 in freeDiameter
- Timestamp:
- Jul 8, 2010, 4:45:41 PM (14 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- contrib/nightly_tests
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
contrib/nightly_tests/README
r408 r410 13 13 14 14 1) 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 "^#"` 16 16 17 17 2) Create the "test" database for app_acct test (we assume the tests are run as user "test" here) … … 56 56 57 57 7) 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 58 60 $ crontab -l 59 0 0 * * * /home/test/fDbuild/ runtests.sh > /home/test/fDbuild/runtests.log 2>&161 0 0 * * * /home/test/fDbuild/cronjob.sh > /home/test/fDbuild/cronjob.log 2>&1 -
contrib/nightly_tests/runtests.sh
r354 r410 48 48 for t in $(cat $WORKDIR/2_tests.list | grep -v -e "^#"); do 49 49 # Create the work environment if needed 50 if [ ! -d $WORKDIR/$t ]; then50 if [ ! -d $WORKDIR/$t ]; then 51 51 mkdir $WORKDIR/$t 52 52 fi
Note: See TracChangeset
for help on using the changeset viewer.