Navigation


Changeset 353:5d988e250308 in freeDiameter


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

Fixes

Location:
contrib/nightly_tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • contrib/nightly_tests/README

    r352 r353  
    1212
    13131) 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 - | grep -v -e "$#"`
    1515
    16162) 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.
     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.
    2929
    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
     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
    4141
    42423) Create a directory ~/fDtests
    43 $ cd
    44 $ mkdir fDtests
    45 $ cd fDtests
     43        $ cd
     44        $ mkdir fDtests
     45        $ cd fDtests
    4646
    47474) Retrieve the runtests.sh script and save in this directory
    48 $ wget http://www.freediameter.net/hg/freeDiameter/raw-file/tip/contrib/nightly_tests/runtests.sh
    49 $ chmod +x runtests.sh
     48        $ wget http://www.freediameter.net/hg/freeDiameter/raw-file/tip/contrib/nightly_tests/runtests.sh
     49        $ chmod +x runtests.sh
    5050
    51515) Create a file local.cmake defining the name of the build slave in this directory also.
    52 $ echo "SET(CTEST_SITE \""`hostname`"\")" > local.cmake
     52        $ echo "SET(CTEST_SITE \""`hostname`"\")" > local.cmake
    5353
    54546) Run the script once to check it works properly
  • contrib/nightly_tests/allext.conf

    r352 r353  
    77
    88set(CTEST_BUILD_OPTIONS "")
    9 set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS}" -DBUILD_ACL_WL:BOOL=ON)
    10 set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS}" -DBUILD_APP_ACCT:BOOL=ON -DTEST_APP_ACCT:BOOL=ON -DTEST_APP_ACCT_CONNINFO:STRING="user=test dbname=test")
    11 set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS}" -DBUILD_APP_RADGW:BOOL=ON)
    12 set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS}" -DBUILD_DBG_MONITOR:BOOL=ON)
    13 set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS}" -DBUILD_DBG_RT:BOOL=ON)
    14 set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS}" -DBUILD_DICT_EAP:BOOL=ON)
    15 set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS}" -DBUILD_DICT_NASREQ:BOOL=ON)
    16 set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS}" -DBUILD_DICT_SIP:BOOL=ON)
    17 set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS}" -DBUILD_RGWX_ACCT:BOOL=ON)
    18 set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS}" -DBUILD_RGWX_AUTH:BOOL=ON)
    19 set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS}" -DBUILD_RGWX_DEBUG:BOOL=ON)
    20 set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS}" -DBUILD_RGWX_ECHODROP:BOOL=ON)
    21 set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS}" -DBUILD_RGWX_SAMPLE:BOOL=ON)
    22 set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS}" -DBUILD_RT_DEFAULT:BOOL=ON)
    23 set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS}" -DBUILD_TEST_APP:BOOL=ON)
     9set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS} -DBUILD_ACL_WL:BOOL=ON")
     10set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS} -DBUILD_APP_ACCT:BOOL=ON -DTEST_APP_ACCT:BOOL=ON -DTEST_APP_ACCT_CONNINFO:STRING=\"user=test dbname=test\"")
     11set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS} -DBUILD_APP_RADGW:BOOL=ON")
     12set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS} -DBUILD_DBG_MONITOR:BOOL=ON")
     13set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS} -DBUILD_DBG_RT:BOOL=ON")
     14set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS} -DBUILD_DICT_EAP:BOOL=ON")
     15set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS} -DBUILD_DICT_NASREQ:BOOL=ON")
     16set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS} -DBUILD_DICT_SIP:BOOL=ON")
     17set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS} -DBUILD_RGWX_ACCT:BOOL=ON")
     18set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS} -DBUILD_RGWX_AUTH:BOOL=ON")
     19set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS} -DBUILD_RGWX_DEBUG:BOOL=ON")
     20set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS} -DBUILD_RGWX_ECHODROP:BOOL=ON")
     21set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS} -DBUILD_RGWX_SAMPLE:BOOL=ON")
     22set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS} -DBUILD_RT_DEFAULT:BOOL=ON")
     23set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS} -DBUILD_TEST_APP:BOOL=ON")
    2424
Note: See TracChangeset for help on using the changeset viewer.