[PATCH V4] run-tests: support multiple cases in .t test

Yuya Nishihara yuya at tcha.org
Fri May 19 09:11:44 EDT 2017


On Thu, 18 May 2017 13:03:34 -0700, Jun Wu wrote:
> # HG changeset patch
> # User Jun Wu <quark at fb.com>
> # Date 1495001431 25200
> #      Tue May 16 23:10:31 2017 -0700
> # Node ID 3d956d448b81cb10233910e0eb34218e4edff182
> # Parent  0d6b3572ad924103128bb9cd296000fc6fd821ef
> # Available At https://bitbucket.org/quark-zju/hg-draft
> #              hg pull https://bitbucket.org/quark-zju/hg-draft -r 3d956d448b81
> run-tests: support multiple cases in .t test

Queued this, thanks.

> +        if case:
> +            self.name = '%s (case %s)' % (self.name, case)

I made s/case/_strpath(case)/ to drop b'' from Py3 output. 'case' isn't a path,
but that should be okay.


More information about the Mercurial-devel mailing list