tests/testlib/pythonpath.sh
author Pierre-Yves David <pierre-yves.david@octobus.net>
Tue, 07 Nov 2017 14:07:19 +0100
changeset 3180 85ab7d2d9fd6
parent 2046 994d81caec68
child 4332 9980df8eda98
permissions -rw-r--r--
test: update test output for effect flag by default Now that effect flag is in core and turned on by default, this affect topic test that did not had the evolve extension turned on all the time. CORE-TEST-OUTPUT-UPDATE: a7e49a5b3e6f

# 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