pjproject/tests/cdash
Benny Prijono bf7b842aa7 Added dummy configure test for VS and Symbian tests and don't stop the whole tests when exception thrown from ccdash
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2413 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-03 23:53:05 +00:00
..
README.TXT Test refinements for mingw etc. 2009-01-02 18:15:07 +00:00
builder.py Added dummy configure test for VS and Symbian tests and don't stop the whole tests when exception thrown from ccdash 2009-01-03 23:53:05 +00:00
cfg_gnu.py Test refinements for mingw etc. 2009-01-02 18:15:07 +00:00
cfg_msvc.py Test refinements for mingw etc. 2009-01-02 18:15:07 +00:00
cfg_site_sample.py Test refinements for mingw etc. 2009-01-02 18:15:07 +00:00
cfg_symbian.py Test refinements for mingw etc. 2009-01-02 18:15:07 +00:00
inc_test.py Added cdash framework for pjsip tests. Currently there is only test framework for GNU 2008-12-29 14:56:32 +00:00
main.py Added copyright text in python test files 2008-12-29 17:57:13 +00:00
starttest_sample.bat Test refinements for mingw etc. 2009-01-02 18:15:07 +00:00

README.TXT

                                
                           PJSIP CDASH AUTOMATED TESTS
                        --------------------------------


1. What is this

   This directory contains the scripts to run the automated, Python based tests
of PJSIP source codes, across platforms, and submit the test results to a CDash
test monitoring dashboard.

   Stuffs that are included in the test scope:
    - configure (for GNU platforms, e.g. Linux, msys, and MacOS X)
    - build
    - standard unit tests (pjlib-test, pjsip-test, etc.)
    - pjsua's Python based blackbox tests


2. Requirements

   To run this test, you will need:
    - Python (2.4 or later)
    - curl (http://curl.haxx.se)
    - a CDash server to receive test submissions (http://www.cdash.org)
    - ccdash to submit the tests (http://trac.pjsip.org/ccdash)


3. Configuration

   Create a Python configuration file by copying from "cfg_site_sample.py". 
Save it as "cfg_site.py". You may create more than one configurations for your
site and save them as different files.


4. Running

   To execute tests for GNU based targets:

     $ python main.py cfg_gnu


   To execute tests for MSVC based target:

     $ python main.py cfg_msvc

   To execute tests for Symbian target:

     $ python main.py cfg_symbian


   If you have a different site configuration file, you may specify it in the
arguments, e.g.:

     $ python main.py cfg_gnu my_site_config

   For more information you can also pass "-h" or "--help", e.g.:

     $ python main.py cfg_gnu --help