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

Walter Doekes walter+asterisk-dev at osso.nl
Fri Oct 24 01:47:46 CDT 2014


On 23-10-14 22:58, Matthew Jordan wrote:
> On Thu, Oct 23, 2014 at 12:49 PM, Sylvain Boily <sboily at avencall.com
>     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.
>
> Sounds good to me. May want to make the environment variable very
> Asterisk specific, e.g., ASTERISK_TEST_RESULTS.

I would find a command line option more logical.

Would that suit your needs too?

Walter



More information about the asterisk-dev mailing list