[Asterisk-code-review] runtests.py: Add parameter --randomorder. (testsuite[master])

Kevin Harwell asteriskteam at digium.com
Mon Jun 1 13:09:20 CDT 2015


Kevin Harwell has posted comments on this change.

Change subject: runtests.py: Add parameter --randomorder.
......................................................................


Patch Set 1:

(1 comment)

https://gerrit.asterisk.org/#/c/550/1/runtests.py
File runtests.py:

Line 337:         self.tests = sorted(self._parse_test_yaml("tests", ast_version),
        :                             key=lambda test: test.test_name)
        :         if self.options.randomorder:
        :             random.shuffle(self.tests)
Any reason to sort first then shuffle?


-- 
To view, visit https://gerrit.asterisk.org/550
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I002c6fa2c7a05e44673cb56b11d4e4c381f3eba0
Gerrit-PatchSet: 1
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
Gerrit-HasComments: Yes



More information about the asterisk-code-review mailing list