Mercurial > evolve
view tests/testlib/pythonpath.sh @ 6562:703911d39f7a
tests: add `hg incoming` with a template that includes {fqbn}
Now, with the help of the previous patch, we can see topic and topic namespace
for each incoming commit.
Using `hg incoming` makes it easier to test discovery logic because we don't
need to create new commits for every situation or clean up after each pull.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sat, 30 Sep 2023 13:59:18 -0300 |
parents | 277b45cf0dda |
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 if uname -o 2> /dev/null | grep -q Msys; then export PYTHONPATH="$SRCDIR;$PYTHONPATH" else export PYTHONPATH=$SRCDIR:$PYTHONPATH fi else export PYTHONPATH=$SRCDIR fi