README.TXT 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. PJSIP CDASH AUTOMATED TESTS
  2. --------------------------------
  3. 1. What is this
  4. This directory contains the scripts to run the automated, Python based tests
  5. of PJSIP source codes, across platforms, and submit the test results to a CDash
  6. test monitoring dashboard.
  7. Stuffs that are included in the test scope:
  8. - configure (for GNU platforms, e.g. Linux, msys, and MacOS X)
  9. - build
  10. - standard unit tests (pjlib-test, pjsip-test, etc.)
  11. - pjsua's Python based blackbox tests
  12. 2. Requirements
  13. To run this test, you will need:
  14. - Python (2.4 or later)
  15. - curl (http://curl.haxx.se)
  16. - a CDash server to receive test submissions (http://www.cdash.org)
  17. - ccdash to submit the tests (http://trac.pjsip.org/ccdash)
  18. 3. Configuration
  19. Create a Python configuration file by copying from "cfg_site_sample.py".
  20. Save it as "cfg_site.py". You may create more than one configurations for your
  21. site and save them as different files.
  22. 4. Running
  23. To execute tests for GNU based targets:
  24. $ python main.py cfg_gnu
  25. To execute tests for MSVC based target:
  26. $ python main.py cfg_msvc
  27. To execute tests for Symbian target:
  28. $ python main.py cfg_symbian
  29. If you have a different site configuration file, you may specify it in the
  30. arguments, e.g.:
  31. $ python main.py cfg_gnu my_site_config
  32. For more information you can also pass "-h" or "--help", e.g.:
  33. $ python main.py cfg_gnu --help