[PATCH 5 of 9] run-tests: document the `pos` variable in the matching code

Joerg Sonnenberger joerg at bec.de
Sun Sep 8 04:50:45 EDT 2019


On Sun, Sep 08, 2019 at 10:05:39AM +0200, Pierre-Yves David wrote:
> 
> 
> On 9/7/19 2:59 PM, Joerg Sonnenberger wrote:
> > On Sat, Sep 07, 2019 at 02:16:44PM +0200, Pierre-Yves David wrote:
> > > diff --git a/tests/run-tests.py b/tests/run-tests.py
> > > --- a/tests/run-tests.py
> > > +++ b/tests/run-tests.py
> > > @@ -1609,6 +1609,9 @@ class TTest(Test):
> > >           if exitcode != 0:
> > >               warnonly = WARN_NO
> > > +        # `pos` is the key for the currently expected output it should match an
> > > +        # entry in `expected`. This `pos` is provided by "command" in the
> > > +        # output stream. These command are recognised using the `salt`
> > 
> > That should be *on* entry.
> 
> What do you mean ? That is should be "`pos` is the key for the currently
> expected output it should match on entry in expected?"

OK, ignore what I said.

Joerg


More information about the Mercurial-devel mailing list