[asterisk-dev] [Code Review] 3496: testsuite: add valgrind support

opticron reviewboard at asterisk.org
Thu Jun 12 13:13:45 CDT 2014


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



/asterisk/trunk/runtests.py
<https://reviewboard.asterisk.org/r/3496/#comment22161>

    This looks like it needs to be updated for the logging changes since test runs are now separated into run_# directories.


- opticron


On June 6, 2014, 9:06 a.m., Scott Griepentrog wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/3496/
> -----------------------------------------------------------
> 
> (Updated June 6, 2014, 9:06 a.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Repository: testsuite
> 
> 
> Description
> -------
> 
> This patch adds support for running Asterisk under Valgrind (said "Val-Grinned") to check for memory allocation and reference problems.
> 
> To use, add -V to ./runtests.py and get a cup of coffee.  Any errors will be displayed in a stack trace format.
> 
> Tests can also activate valgrind in the yaml configuration.
> 
> By default, only confirmed leaks will be shown - thoses where all copies of the pointer to the allocation have been released.  Additional leak checking can be enabled.
> 
> 
> Diffs
> -----
> 
>   /asterisk/trunk/runtests.py 5100 
>   /asterisk/trunk/lib/python/asterisk/valgrind.py PRE-CREATION 
>   /asterisk/trunk/lib/python/asterisk/test_config.py 5100 
>   /asterisk/trunk/lib/python/asterisk/test_case.py 5100 
>   /asterisk/trunk/lib/python/asterisk/asterisk.py 5100 
>   /asterisk/trunk/configs/valgrind.supp PRE-CREATION 
> 
> Diff: https://reviewboard.asterisk.org/r/3496/diff/
> 
> 
> Testing
> -------
> 
> Used to locate reference problems on Userevent issue, and incorporated several improvements over the prior attempt.
> 
> 
> Thanks,
> 
> Scott Griepentrog
> 
>

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


More information about the asterisk-dev mailing list