Mercurial > hg > freeDiameter
comparison contrib/nightly_tests/README @ 417:195096819152 1.0.0-rc1
Cleanups in documentation
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Thu, 08 Jul 2010 17:55:18 +0900 |
parents | 3ed2c84d9e23 |
children | e16866e190a4 |
comparison
equal
deleted
inserted
replaced
416:fa39aecb41c6 | 417:195096819152 |
---|---|
49 $ wget http://www.freediameter.net/hg/freeDiameter/raw-file/tip/contrib/nightly_tests/runtests.sh | 49 $ wget http://www.freediameter.net/hg/freeDiameter/raw-file/tip/contrib/nightly_tests/runtests.sh |
50 $ chmod +x runtests.sh | 50 $ chmod +x runtests.sh |
51 | 51 |
52 5) Create a file local.cmake defining the name of the build slave in this directory also. | 52 5) Create a file local.cmake defining the name of the build slave in this directory also. |
53 $ echo "SET(CTEST_SITE \""`hostname`"\")" > local.cmake | 53 $ echo "SET(CTEST_SITE \""`hostname`"\")" > local.cmake |
54 | |
55 For FreeBSD: | |
56 $ echo "set(CTEST_BUILD_OPTIONS \"\${CTEST_BUILD_OPTIONS} -DFLEX_EXECUTABLE:FILEPATH=/usr/local/bin/flex\")" >> local.cmake | |
54 | 57 |
55 6) Run the script once to check it works properly | 58 6) Run the script once to check it works properly |
56 | 59 |
57 7) Set up a crontab to run the script | 60 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 | 61 $ wget http://www.freediameter.net/hg/freeDiameter/raw-file/tip/contrib/nightly_tests/cronjob.sh |
59 $ chmod +x cronjob.sh | 62 $ chmod +x cronjob.sh |
60 $ crontab -l | 63 $ crontab -l |
61 0 0 * * * /home/test/fDbuild/cronjob.sh > /home/test/fDbuild/cronjob.log 2>&1 | 64 0 0 * * * /home/test/fDtests/cronjob.sh > /home/test/fDtests/cronjob.log 2>&1 |