[asterisk-dev] [Code Review] Allow running test suite locally - initial work

Tzafrir Cohen reviewboard at asterisk.org
Thu Mar 7 12:28:15 CST 2013


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

(Updated March 7, 2013, 12:28 p.m.)


Review request for Asterisk Developers.


Changes
-------

We now create symlink /tmp/ast_test_XXXXXX to link to our test directory. Pass the root through the environment as AST_TEST_ROOT and don't break existing software if it is not set.

Also include documentation.


Summary
-------

Place anything needed for the test suite (except the actual sources of Asterisk) under the test suite directory.

Fix parts in the python code. Add a wrapper script (run_local) for the required automation.

Work is still needed on asttest (add a destdir option? Consolidate all the run-test scripts to run it through a common function?) but I'm not exactly sure how the information is passed to Lua.


Diffs (updated)
-----

  /asterisk/trunk/README.txt 3660 
  /asterisk/trunk/lib/python/asterisk/asterisk.py 3660 
  /asterisk/trunk/run_local PRE-CREATION 

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


Testing
-------


Thanks,

Tzafrir

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130307/7df51b39/attachment.htm>


More information about the asterisk-dev mailing list