tests/testlib/pythonpath.sh
author Anton Shestakov <av6@dwimlabs.net>
Sun, 14 Oct 2018 13:35:13 +0200
branchstable
changeset 4179 2020c254fe66
parent 2046 994d81caec68
child 4332 9980df8eda98
permissions -rw-r--r--
evolvecmd: mark flags with old instability names as deprecated

# 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