view docs/tutorial/testlib/pythonpath.sh @ 4895:92d617c7be66 stable

tests: clean up test-metaedit.t Mostly just artifacts from the times when it was one big test-evolve.t. All completely unused nowadays.
author Anton Shestakov <av6@dwimlabs.net>
date Wed, 09 Oct 2019 20:07:42 +0700
parents aad37ffd7d58
children
line wrap: on
line source

# 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