comparison contrib/nightly_tests/README @ 352:2521e4d91dac

Added the allext test
author Sebastien Decugis <sdecugis@nict.go.jp>
date Tue, 29 Jun 2010 17:11:12 +0900
parents 69ec5dcc1fb2
children 5d988e250308
comparison
equal deleted inserted replaced
351:0aa95dd79d0f 352:2521e4d91dac
11 These are the instructions to setup a new build slave for the freeDiameter buildserver: 11 These are the instructions to setup a new build slave for the freeDiameter buildserver:
12 12
13 1) Install all dependencies for freeDiameter. See the "prereqs" file. 13 1) 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 -` 14 $ sudo aptitude install `wget http://www.freediameter.net/hg/freeDiameter/raw-file/tip/contrib/nightly_tests/prereqs -O -`
15 15
16 2) Create a directory ~/fDtests 16 2) Create the "test" database for app_acct test (we assume the tests are run as user "test" here)
17 # su - postgres
18 # createuser test
19 Shall the new role be a superuser? (y/n) n
20 Shall the new role be allowed to create databases? (y/n) y
21 Shall the new role be allowed to create more new roles? (y/n) n
22 # logout
23 $ whoami
24 test
25 $ createdb test
26 $ psql test
27 psql (8.4.4)
28 Type "help" for help.
29
30 test=>
31 CREATE TABLE incoming_test (
32 recorded_on timestamp with time zone NOT NULL,
33 "Accounting-Record-Type" integer,
34 "Session-Id" bytea,
35 "Accounting-Record-Number" integer,
36 "Route-Record1" bytea,
37 "Route-Record2" bytea,
38 "Route-Record3" bytea,
39 "Route-Record4" bytea );
40 \q
41
42 3) Create a directory ~/fDtests
17 $ cd 43 $ cd
18 $ mkdir fDtests 44 $ mkdir fDtests
19 $ cd fDtests 45 $ cd fDtests
20 46
21 3) Retrieve the runtests.sh script and save in this directory 47 4) 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 48 $ wget http://www.freediameter.net/hg/freeDiameter/raw-file/tip/contrib/nightly_tests/runtests.sh
23 $ chmod +x runtests.sh 49 $ chmod +x runtests.sh
24 50
25 4) Create a file local.cmake defining the name of the build slave in this directory also. 51 5) Create a file local.cmake defining the name of the build slave in this directory also.
26 $ echo "SET(CTEST_SITE \""`hostname`"\")" > local.cmake 52 $ echo "SET(CTEST_SITE \""`hostname`"\")" > local.cmake
27 53
28 5) Run the script once to check it works properly 54 6) Run the script once to check it works properly
29 55
30 6) Set up a crontab to run the script 56 7) Set up a crontab to run the script
"Welcome to our mercurial repository"