[Asterisk-code-review] runtests: Add the ability to run the test suite in a loop (testsuite[master])
Matt Jordan
asteriskteam at digium.com
Sun Oct 25 15:32:51 CDT 2015
Matt Jordan has posted comments on this change.
Change subject: runtests: Add the ability to run the test suite in a loop
......................................................................
Patch Set 3:
> (1 comment)
>
> I have mixed feelings about reusing the '-n' option so quickly.
> For moving forward maybe it would be good to document that short
> options are subject to change, and automated scripts should always
> use long options only?
I actually renamed '-n' to '-d' specifically for this option. First, I couldn't think of a better short letter that wasn't already taken by a more appropriate option; second, I thought the '-n' for dry run didn't make a lot of sense, other than the 'run' ends in 'n'.
I'm happy to just make this '--number' - or, if we go with just a long form name, '--iterations'.
> My comment about the help message is the reason for -1 review, I'm
> can be ok with reuse of the short option.
>
> One last thought, the handling of SIGUSR2 seems more appropriate
> for HUP and/or TERM. This would leave USR2 available for other use
> in the future, like abort the current test only but continue with
> the rest.
That sounds good - I'll intercept TERM, as that feels appropriate based on the action that ends up being taken.
--
To view, visit https://gerrit.asterisk.org/1529
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I6c65250a45e48dc36b7c4657d4cfbe63efeb1a6d
Gerrit-PatchSet: 3
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: Matt Jordan <mjordan at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: George Joseph <george.joseph at fairview5.com>
Gerrit-Reviewer: Matt Jordan <mjordan at digium.com>
Gerrit-HasComments: No
More information about the asterisk-code-review
mailing list