[asterisk-dev] Branching in the Testsuite

Kevin Harwell kharwell at digium.com
Fri Mar 16 14:19:47 CDT 2018


Update!

Branching now exists in the Asterisk testsuite. Moving forward, when
creating a test for the testsuite you should no longer need to include the
Asterisk versioning information. Just write the test against the
appropriate branch. Also, when uploading a patch to gerrit, please be sure
to cherry pick the test to any other applicable branches.

As well when executing the testsuite be sure to run it against the correct
Asterisk branch. Otherwise you will receive failures due to some tests not
being supported on that branch.

For each new release of Asterisk a tag is created in the Testsuite for the
previous release's branch, which is then deleted (the branch that is).
Note, in order to minimize the number of tags, especially the number of
tags potentially pointing to the same commit, only one final tag is created
for a single release branch. This tag will have the same version number as
the last Asterisk version released for that branch.

Lastly, as mentioned in another post a "legacy" branch now exists that
maintains the state of the testsuite just prior to adding in branching.
This exists for historical purposes and new tests should *not* go into it.

Thanks!

On Fri, Dec 15, 2017 at 10:59 AM, Kevin Harwell <kharwell at digium.com> wrote:

> Greetings,
>
> We're thinking about adding a branching system to the Asterisk Testsuite.
> Each branch would be named the same as, and correspond to, an Asterisk
> branch. So for instance the following branches would probably be created:
>
> 13, 14, 15
>
> For each release of Asterisk we will also create a tag in the Testsuite
> that corresponds to that release's tag. That way someone could checkout
> both tags for easy testing
>
> Other advantages? Most all, if not all, the current versioning stuff found
> in the Testsuite could go away, or be safely ignored moving forward. The
> versioning has become a bit cumbersome especially when you have to make a
> backward incompatible change to a test. Moving the version control out of
> the Testsuite and into a version control system should alleviate the need
> for this moving forward.
>
> Please let us know your thoughts and considerations on moving forward with
> this model. Especially any potential pitfalls or problems you might see
> with it.
>
> Thanks!
>
> --
>
> Kevin Harwell
> Digium, Inc. | Software Developer
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
> Check us out at: http://digium.com & http://asterisk.org
>
>


-- 

Kevin Harwell
Digium, Inc. | Software Developer
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/20180316/647dd5e8/attachment.html>


More information about the asterisk-dev mailing list