[asterisk-dev] [Code Review] 4090: testsuite: add basic valgrind support
Kevin Harwell
reviewboard at asterisk.org
Thu Oct 16 17:58:53 CDT 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/4090/#review13561
-----------------------------------------------------------
/asterisk/trunk/lib/python/asterisk/asterisk.py
<https://reviewboard.asterisk.org/r/4090/#comment24084>
Only increase the value if valgrind is being used.
/asterisk/trunk/lib/python/asterisk/asterisk.py
<https://reviewboard.asterisk.org/r/4090/#comment24085>
Much the same. Only increase if valgrind support is enabled.
/asterisk/trunk/runtests.py
<https://reviewboard.asterisk.org/r/4090/#comment24083>
Not a huge fan of using an environment variable for this (could probably be convinced otherwise though). Maybe pass in as a param?
- Kevin Harwell
On Oct. 16, 2014, 4:23 p.m., Scott Griepentrog wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/4090/
> -----------------------------------------------------------
>
> (Updated Oct. 16, 2014, 4:23 p.m.)
>
>
> Review request for Asterisk Developers.
>
>
> Repository: testsuite
>
>
> Description
> -------
>
> This adds very basic valgrind support, which is convenient for manual test runs but does not (yet) include support for more automated valgrind usage.
>
> 1) CLI flag '-V' enables valgrind (./runtests -V -t tests/test)
>
> 2) Minimal changes to testsuite, other improvements can be added later if desired
>
> 3) Valgrind output is picked up by error logging and shown after test run.
>
> 4) Unlike previous valgrind attempt, this one works fine on tests with multiple asterisk instances
>
>
> Diffs
> -----
>
> /asterisk/trunk/runtests.py 5733
> /asterisk/trunk/lib/python/asterisk/test_case.py 5733
> /asterisk/trunk/lib/python/asterisk/asterisk.py 5733
>
> Diff: https://reviewboard.asterisk.org/r/4090/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Scott Griepentrog
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20141016/0c5ff025/attachment-0001.html>
More information about the asterisk-dev
mailing list