[asterisk-dev] Changing hard coded TEST_RESULTS variable in testsuite

Matthew Jordan mjordan at digium.com
Thu Oct 23 15:58:52 CDT 2014


On Thu, Oct 23, 2014 at 12:49 PM, Sylvain Boily <sboily at avencall.com> wrote:

> Hello,
>
> It would be great to changing TEST_RESULTS hard coded variable to
> something like this in runtests.py.
>
> TEST_RESULTS = os.getenv('TEST_RESULTS', "asterisk-test-suite-report.xml")
>
> Because if we have this possibility, we can launching a testsuite in a
> docker with a mount volume and use the -e env variable to set where the
> result of this test is writing.
>
> What do you think about this change ?


Sounds good to me. May want to make the environment variable very Asterisk
specific, e.g., ASTERISK_TEST_RESULTS.

-- 
Matthew Jordan
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20141023/bc471ba8/attachment.html>


More information about the asterisk-dev mailing list