view tests/testlib/pythonpath.sh @ 3196:94e5235e95f5

evolve: make prev/next respect --quiet flag (issue5742)
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 16 Nov 2017 11:22:38 -0800
parents 994d81caec68
children 9980df8eda98
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