[asterisk-dev] [Code Review] new testcase to test loading / unloading for modules.

Russell Bryant reviewboard at asterisk.org
Fri Jan 21 10:20:13 CST 2011


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



asterisk/trunk/tests/dynamic-modules/run-test
<https://reviewboard.asterisk.org/r/653/#comment6382>

    Here's another way you can build res in one line:
    
    res = [ (module + ".so", False, False, False) for module in resources ]



asterisk/trunk/tests/dynamic-modules/run-test
<https://reviewboard.asterisk.org/r/653/#comment6383>

    Sleeps usually set off a red flag for me.  Is there a way this could be done without hard coded sleeps?


- Russell


On 2011-01-04 21:06:29, Paul Belanger wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/653/
> -----------------------------------------------------------
> 
> (Updated 2011-01-04 21:06:29)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Summary
> -------
> 
> This is my first test-case used to test the loading / unloading of modules.  Currently it only check res modules, once the core design is complete additional modules will be added.
> 
> I've create 2 new feature in the asterisk library, getBase (needed to check if modules actually exists / compiled) and CLI output (needed to confirm module was loaded / unloaded).
> 
> 
> Diffs
> -----
> 
>   asterisk/trunk/tests/dynamic-modules/configs/ast1/modules.conf PRE-CREATION 
>   asterisk/trunk/tests/dynamic-modules/run-test PRE-CREATION 
>   asterisk/trunk/tests/dynamic-modules/test-config.yaml PRE-CREATION 
>   asterisk/trunk/tests/tests.yaml 1333 
> 
> Diff: https://reviewboard.asterisk.org/r/653/diff
> 
> 
> Testing
> -------
> 
> Local development / QA box. Not all modules tested yet, as I was missing the dependencies.
> 
> 
> Thanks,
> 
> Paul
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20110121/4b0a4b5b/attachment-0001.htm>


More information about the asterisk-dev mailing list