[Asterisk-code-review] RFC: Add runtime option that allows automatic realtime execu... (testsuite[master])
Mark Michelson
asteriskteam at digium.com
Thu Dec 17 15:19:28 CST 2015
Mark Michelson has uploaded a new patch set (#2).
Change subject: RFC: Add runtime option that allows automatic realtime execution.
......................................................................
RFC: Add runtime option that allows automatic realtime execution.
This adds a command line option to runtests.py that allows for tests to
be run in realtime mode if possible. This makes it so that any tests
that use configuration files that are registered realtime converters
will automatically be run using a realtime database instead.
This change has the "RFC" designation on it because, for one, it's based
on another RFC commit. Second, this feels a bit on the "hackish" side,
so it's up for debate about whether this can be done better.
As it stands, this change has been tested by running tests like:
./runtests.py -r -t tests/channels/pjsip/ami/show_endpoints
and has proven that they get run using realtime rather than the static
pjsip.conf configuration file.
Change-Id: Ieec1b1cfa48cadab108c4ab65122ce36ab697e4e
---
M lib/python/asterisk/test_case.py
M lib/python/asterisk/test_config.py
M lib/python/asterisk/test_runner.py
M runtests.py
M test-config.yaml
M tests/channels/pjsip/configuration/duplicate_sections/test-config.yaml
M tests/channels/pjsip/configuration/happy_config/test-config.yaml
7 files changed, 102 insertions(+), 7 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/03/1803/2
--
To view, visit https://gerrit.asterisk.org/1803
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ieec1b1cfa48cadab108c4ab65122ce36ab697e4e
Gerrit-PatchSet: 2
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: Mark Michelson <mmichelson at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
Gerrit-Reviewer: Mark Michelson <mmichelson at digium.com>
More information about the asterisk-code-review
mailing list