[asterisk-dev] [Code Review] 4198: testsuite: Add --cleanup option to runtests.py

George Joseph reviewboard at asterisk.org
Fri Nov 21 10:02:26 CST 2014


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

(Updated Nov. 21, 2014, 9:02 a.m.)


Review request for Asterisk Developers.


Changes
-------

Added try/except around the cleanup so if it fails the tests continue.


Repository: testsuite


Description
-------

This patch adds the -c,--cleanup option to runtests.py.  If set, a test's output/root directory and symlink will be removed after successful completion.  If the test fails or times out, the directory is left in place.  This helps keep /tmp and /var/tmp from running out of space or inodes.


Diffs (updated)
-----

  asterisk/trunk/runtests.py 5984 

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


Testing
-------


Thanks,

George Joseph

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


More information about the asterisk-dev mailing list