Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
freediameter
Commits
8bf9199a
Commit
8bf9199a
authored
Nov 26, 2010
by
Sebastien Decugis
Browse files
Updated documentation
parent
685433a9
Changes
3
Hide whitespace changes
Inline
Side-by-side
contrib/nightly_tests/README
View file @
8bf9199a
...
@@ -13,13 +13,14 @@ INSTRUCTIONS to setup a new build slave for the freeDiameter buildserver:
...
@@ -13,13 +13,14 @@ INSTRUCTIONS to setup a new build slave for the freeDiameter buildserver:
-- note: the build slave should have cmake version 2.8 at least so that ctest will update the source tree properly.
-- note: the build slave should have cmake version 2.8 at least so that ctest will update the source tree properly.
1) Install all dependencies for freeDiameter as follow:
1) Install all dependencies for freeDiameter as follow:
a) Debian / Ubuntu: See the "prereqs" file
a) Debian / Ubuntu: See the "prereqs
.ubuntu
" file
$ sudo aptitude install `wget http://www.freediameter.net/hg/freeDiameter/raw-file/tip/contrib/nightly_tests/prereqs -O - | grep -v -e "^#"`
$ sudo aptitude install `wget http://www.freediameter.net/hg/freeDiameter/raw-file/tip/contrib/nightly_tests/prereqs
.ubuntu
-O - | grep -v -e "^#"`
b) FreeBSD:
b) FreeBSD:
See the "prereqs.freebsd" file
- install base system and ports
- install base system and ports
- install freediameter dependencies as follow:
- install freediameter dependencies as follow:
# pkg_add -r -v wget bash cmake mercurial flex bison gnutls postgresql84-client postgresql84-server mysql50-client
# pkg_add -r -v wget
# pkg_add -r -v `wget http://www.freediameter.net/hg/freeDiameter/raw-file/tip/contrib/nightly_tests/prereqs.freebsd -O - | grep -v -e "^#"`
2) Create the "test" database for app_acct test (we assume the tests are run as user "test" here)
2) Create the "test" database for app_acct test (we assume the tests are run as user "test" here)
- check INSTALL.FreeBSD file for specific PostgreSQL pre-install instructions.
- check INSTALL.FreeBSD file for specific PostgreSQL pre-install instructions.
...
@@ -61,9 +62,9 @@ INSTRUCTIONS to setup a new build slave for the freeDiameter buildserver:
...
@@ -61,9 +62,9 @@ INSTRUCTIONS to setup a new build slave for the freeDiameter buildserver:
5) Create a file local.cmake defining the name of the build slave in this directory also.
5) Create a file local.cmake defining the name of the build slave in this directory also.
$ echo "SET(CTEST_SITE \""`hostname`"\")" > local.cmake
$ echo "SET(CTEST_SITE \""`hostname`"\")" > local.cmake
For FreeBSD:
For FreeBSD
, in addition do
:
$ echo "set(CTEST_BUILD_OPTIONS \"\${CTEST_BUILD_OPTIONS} -DFLEX_EXECUTABLE:FILEPATH=/usr/local/bin/flex\")" >> local.cmake
$ echo "set(CTEST_BUILD_OPTIONS \"\${CTEST_BUILD_OPTIONS} -DFLEX_EXECUTABLE:FILEPATH=/usr/local/bin/flex\")" >> local.cmake
6) Run the runscript.sh script once to check it works properly (freeBSD might require: ln -s /usr/local/bin/bash /bin/bash)
6) Run the runscript.sh script once to check it works properly (freeBSD might require: ln -s /usr/local/bin/bash /bin/bash)
7) Set up a crontab to run the script
7) Set up a crontab to run the script
...
...
contrib/nightly_tests/prereqs.freebsd
0 → 100644
View file @
8bf9199a
# 1: install base system and ports
# 2: install wget with command: pkg_add -r -v wget
# Finally, install the other packages from this file
bash cmake mercurial flex bison gnutls postgresql84-client postgresql84-server mysql50-client libxml2
contrib/nightly_tests/prereqs
→
contrib/nightly_tests/prereqs
.ubuntu
View file @
8bf9199a
# Packages (Ubuntu names)
# Packages (Ubuntu names)
cmake mercurial make gcc flex bison binutils libsctp-dev libgnutls-dev valgrind wget libpq-dev postgresql libmysqlclient-dev
cmake mercurial make gcc flex bison binutils libsctp-dev libgnutls-dev valgrind wget libpq-dev postgresql libmysqlclient-dev
libxml2-dev libxml2
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment