[PATCH 1 of 2 evolve-ext] tests: specify a path to the evolve and topic extensions

Anton Shestakov av6 at dwimlabs.net
Fri Jan 4 05:32:38 EST 2019


On Fri, 04 Jan 2019 00:13:56 -0500
Matt Harbison <mharbison72 at gmail.com> wrote:

> # HG changeset patch
> # User Matt Harbison <matt_harbison at yahoo.com>
> # Date 1546576030 18000
> #      Thu Jan 03 23:27:10 2019 -0500
> # Node ID 1c6f2cc21682164dde57f581f55e2affb0c1d709
> # Parent  708bf337a93e8e136fdf25aabf927ee44f3460ad
> tests: specify a path to the evolve and topic extensions
> 
> Apparently, this was the cause of most (but not all) of the test failures on
> Windows.  It seems to have been picking up 8.3.1 in the default path.

tests/testlib/pythonpath.sh exists to solve exactly this, and it does it
by simply prepending $TESTDIR/.. to $PATH. It unfortunately looks like
doesn't do its job on Windows very well. But the proper fix to the
issue this patch addresses would be to modify pythonpath.sh for
Windows (or rewriting it in Python to be more cross-platform?).


More information about the Mercurial-devel mailing list