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

Tzafrir Cohen tzafrir.cohen at xorcom.com
Thu Oct 23 16:59:21 CDT 2014


On Thu, Oct 23, 2014 at 10:49:28AM -0700, Sylvain Boily 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 ?

See also https://reviewboard.asterisk.org/r/3949/

You also need to redirect the logs directory (as mentioned there).

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com



More information about the asterisk-dev mailing list