[asterisk-dev] [Code Review] 4145: testsuite: update pretty_print script for recent runtests.py changes.

George Joseph reviewboard at asterisk.org
Sat Nov 15 13:05:46 CST 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/4145/
-----------------------------------------------------------

(Updated Nov. 15, 2014, 12:05 p.m.)


Review request for Asterisk Developers.


Changes
-------

Changed back to filter.   Run with ./runtests.py <options> | contrib/scripts/pretty_print
Added time current test has been running.
Added total run time to final summary.
Changed runtests.py to re-open stdout in single line buffered mode.
Changed runtests.py to print total number of tests that will be run before actually running any tests.  This allows_pretty print to tell you where in the test run you are.

Example:
# ./runtests.py -t tests/channels/pjsip/ami
Running tests for Asterisk 12.8.0
 ...

Tests to run: 9
--> Running test 'tests/channels/pjsip/ami/pjsip_notify/content' ...

etc.


Repository: testsuite


Description
-------

Updated contrib/scripts/pretty_print so it works with recent runtests.py changes.  Also changed it from a filter to a standalone script.


Diffs (updated)
-----

  asterisk/trunk/runtests.py 5927 
  asterisk/trunk/contrib/scripts/pretty_print 5927 

Diff: https://reviewboard.asterisk.org/r/4145/diff/


Testing
-------


Thanks,

George Joseph

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20141115/90009ece/attachment.html>


More information about the asterisk-dev mailing list