Navigation


Changeset 352:2521e4d91dac in freeDiameter for contrib/nightly_tests/README


Ignore:
Timestamp:
Jun 29, 2010, 5:11:12 PM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Added the allext test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • contrib/nightly_tests/README

    r347 r352  
    1414$ sudo aptitude install `wget http://www.freediameter.net/hg/freeDiameter/raw-file/tip/contrib/nightly_tests/prereqs -O -`
    1515
    16 2) Create a directory ~/fDtests
     162) Create the "test" database for app_acct test (we assume the tests are run as user "test" here)
     17# su - postgres
     18# createuser test
     19Shall the new role be a superuser? (y/n) n
     20Shall the new role be allowed to create databases? (y/n) y
     21Shall the new role be allowed to create more new roles? (y/n) n
     22# logout
     23$ whoami
     24test
     25$ createdb test
     26$ psql test
     27psql (8.4.4)
     28Type "help" for help.
     29
     30test=>
     31CREATE TABLE incoming_test (
     32recorded_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
     423) Create a directory ~/fDtests
    1743$ cd
    1844$ mkdir fDtests
    1945$ cd fDtests
    2046
    21 3) Retrieve the runtests.sh script and save in this directory
     474) Retrieve the runtests.sh script and save in this directory
    2248$ wget http://www.freediameter.net/hg/freeDiameter/raw-file/tip/contrib/nightly_tests/runtests.sh
    2349$ chmod +x runtests.sh
    2450
    25 4) Create a file local.cmake defining the name of the build slave in this directory also.
     515) Create a file local.cmake defining the name of the build slave in this directory also.
    2652$ echo "SET(CTEST_SITE \""`hostname`"\")" > local.cmake
    2753
    28 5) Run the script once to check it works properly
     546) Run the script once to check it works properly
    2955
    30 6) Set up a crontab to run the script
     567) Set up a crontab to run the script
Note: See TracChangeset for help on using the changeset viewer.