[PATCH 1 of 2 v2] run-tests: report path for tests outside current directory

Yuya Nishihara yuya at tcha.org
Thu Mar 31 11:35:38 EDT 2016

On Wed, 30 Mar 2016 14:02:11 -0400, timeless wrote:
> Yuya Nishihara <yuya at tcha.org> wrote:
> > It appears that absolute path is reported for the tests "inside" the current
> > directory. Is that intended? I think that is unnecessarily verbose.  
> It made things easier to reason through (which directory should be
> used otherwise? cwd, run-tests?), and it happened to result in what I
> see as better output for the tests (since it shows $TESTTMP).

I said it seemed verbose because I wasn't interested in where the tests are

  ERROR: test-basic.t output changed
  Failed /home/yuya/work/hghacks/mercurial-work/tests/test-basic.t: output changed
  # Ran 1 tests, 0 skipped, 0 warned, 1 failed.

> If someone suggests a directory, I can adjust this...

Perhaps cwd? "make tests" does "cd tests && python run-tests.py", which is the
sstandard way to run Mercurial tests.

More information about the Mercurial-devel mailing list