[Asterisk-code-review] testsuite: Add min/max version lists to test-object and modu... (testsuite[master])

Richard Mudgett asteriskteam at digium.com
Wed Oct 4 11:03:24 CDT 2017


Hello Jenkins2, Joshua Colp, 

I'd like you to reexamine a change. Please visit

    https://gerrit.asterisk.org/6638

to look at the new patch set (#2).

Change subject: testsuite: Add min/max version lists to test-object and modules.
......................................................................

testsuite: Add min/max version lists to test-object and modules.

Make testsuite accept the minversion/maxversion syntax for "test-object"
and "modules".  Before it only accepted a single version string.  Now it
will accept a single version string or a list of version strings.

test-modules:
    test-object:
        -
            maxversion: ['13.18.0', '14.7.0', '15.1.0']
            config-section: test-object-config-v12
            typename: 'sipp.SIPpTestCase'
        -
            minversion: ['13.18.0', '14.7.0', '15.1.0']
            config-section: test-object-config-v13.18.0
            typename: 'sipp.SIPpTestCase'
    modules:
        -
            maxversion: ['13.18.0', '14.7.0', '15.1.0']
            config-section: 'ami-config-v12'
            typename: 'ami.AMIEventModule'
        -
            minversion: ['13.18.0', '14.7.0', '15.1.0']
            config-section: 'ami-config-v13.18.0'
            typename: 'ami.AMIEventModule'

Also fixed a bug in the "properties: maxversion" handling of version
lists.  We were cutting off running the test only if the Asterisk version
was greater than or equal to all listed versions.  It is now handled
similarly to minversion.

Change-Id: Ibd896104af60bdab720e14e3b5bd03aafc8f2167
---
M lib/python/asterisk/test_config.py
M lib/python/asterisk/test_runner.py
2 files changed, 42 insertions(+), 9 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/38/6638/2
-- 
To view, visit https://gerrit.asterisk.org/6638
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ibd896104af60bdab720e14e3b5bd03aafc8f2167
Gerrit-Change-Number: 6638
Gerrit-PatchSet: 2
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20171004/494c6682/attachment.html>


More information about the asterisk-code-review mailing list