changeset 464:e16866e190a4

Updated tests documentation
author Sebastien Decugis <sdecugis@nict.go.jp>
date Fri, 30 Jul 2010 16:30:03 +0900
parents 255eec089c91
children 518191d00c8d
files contrib/nightly_tests/README
diffstat 1 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/nightly_tests/README	Fri Jul 30 11:47:43 2010 +0900
+++ b/contrib/nightly_tests/README	Fri Jul 30 16:30:03 2010 +0900
@@ -11,10 +11,18 @@
 
 INSTRUCTIONS to setup a new build slave for the freeDiameter buildserver:
 
-1) Install all dependencies for freeDiameter. See the "prereqs" file (for Debian/Ubuntu).
+1) Install all dependencies for freeDiameter as follow: 
+  a) Debian / Ubuntu: See the "prereqs" file
 	$ sudo aptitude install `wget http://www.freediameter.net/hg/freeDiameter/raw-file/tip/contrib/nightly_tests/prereqs -O - | grep -v -e "^#"`
+	
+  b) FreeBSD:
+      - install base system and ports
+      - install freediameter dependencies as follow:
+      # pkg_add -r -v wget bash cmake mercurial flex bison gnutls postgresql84-client postgresql84-server mysql50-client
 
 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.
+      - These are the instructions for Ubuntu, adjust as needed:
 	# su - postgres
 	# createuser test
 	 Shall the new role be a superuser? (y/n) n
@@ -55,7 +63,7 @@
    For FreeBSD:
    	$ echo "set(CTEST_BUILD_OPTIONS \"\${CTEST_BUILD_OPTIONS} -DFLEX_EXECUTABLE:FILEPATH=/usr/local/bin/flex\")" >> local.cmake
 
-6) Run the script once to check it works properly
+6) Run the 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
 	$ wget http://www.freediameter.net/hg/freeDiameter/raw-file/tip/contrib/nightly_tests/cronjob.sh
"Welcome to our mercurial repository"