blob: 69728b739fe480d7f6b9e46fcbc687a17d2aaa5e [file] [log] [blame]
Benny Prijono49048d92008-12-29 14:56:32 +00001
2 PJSIP CDASH AUTOMATED TESTS
3 --------------------------------
4
5
61. What is this
7
8 This directory contains the scripts to run the automated, Python based tests
9of PJSIP source codes, across platforms, and submit the test results to a CDash
10test monitoring dashboard.
11
12 Stuffs that are included in the test scope:
13 - configure (for GNU platforms, e.g. Linux, msys, and MacOS X)
14 - build
15 - standard unit tests (pjlib-test, pjsip-test, etc.)
16 - pjsua's Python based blackbox tests
17
18
192. Requirements
20
21 To run this test, you will need:
22 - Python (2.4 or later)
23 - curl (http://curl.haxx.se)
24 - a CDash server to receive test submissions (http://www.cdash.org)
25 - ccdash to submit the tests (http://trac.pjsip.org/ccdash)
26
27
283. Configuration
29
30 Create a Python configuration file by copying from "cfg_site_sample.py".
31Save it as "cfg_site.py". You may create more than one configurations for your
32site and save them as different files.
33
34
354. Running
36
37 To execute tests for GNU based targets:
38
39 $ python main.py cfg_gnu
40
41
42 To execute tests for MSVC based target:
43
44 $ python main.py cfg_msvc
45
Benny Prijonod5962672009-01-02 18:15:07 +000046 To execute tests for Symbian target:
47
48 $ python main.py cfg_symbian
49
Benny Prijono49048d92008-12-29 14:56:32 +000050
51 If you have a different site configuration file, you may specify it in the
52arguments, e.g.:
53
54 $ python main.py cfg_gnu my_site_config
Benny Prijonod5962672009-01-02 18:15:07 +000055
56 For more information you can also pass "-h" or "--help", e.g.:
57
58 $ python main.py cfg_gnu --help
59