tests/testlib/pythonpath.sh
author Boris Feld <boris.feld@octobus.net>
Mon, 21 May 2018 16:25:29 +0200
changeset 3748 8fe8152ff071
parent 2046 994d81caec68
child 4332 9980df8eda98
permissions -rw-r--r--
compat: update obshashrange test output Mercurial core bfe8ef6e370e seems to have changed the order of some messages. Simply accept the change in the test file. CORE-TEST-OUTPUT-UPDATE: bfe8ef6e370e

# utility to setup pythonpath to point into the tested repository

export SRCDIR=`dirname $TESTDIR`
if [ -n "$PYTHONPATH" ]; then
    export HGTEST_ORIG_PYTHONPATH=$PYTHONPATH
    export PYTHONPATH=$SRCDIR:$PYTHONPATH
else
    export PYTHONPATH=$SRCDIR
fi