summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEthan Jackson <ethan@nicira.com>2012-03-01 16:21:55 -0800
committerEthan Jackson <ethan@nicira.com>2012-03-09 14:08:29 -0800
commitedcb6e25301694e9310210f126da80781f792132 (patch)
tree02f57144e9a9b0464ed60164f3b0a2bad5e72188
parent23d117bbf1c8f477b39119a9fa3e6d85b67c5aa3 (diff)
downloadopenvswitch-edcb6e25301694e9310210f126da80781f792132.tar.gz
tests: Prefer development Python files over installed ones.
A developer may have Open vSwitch installed, in which case many of the Python files which are tested will be in both the development tree and the system Python library. When running unit tests, we want to test the development tree, so it's better to prefer importing those files. Signed-off-by: Ethan Jackson <ethan@nicira.com>
-rw-r--r--tests/atlocal.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/atlocal.in b/tests/atlocal.in
index 9c9f654cc..bfdb847ca 100644
--- a/tests/atlocal.in
+++ b/tests/atlocal.in
@@ -4,7 +4,7 @@ HAVE_PYTHON='@HAVE_PYTHON@'
PERL='@PERL@'
PYTHON='@PYTHON@'
-PYTHONPATH=$PYTHONPATH:$abs_top_srcdir/python
+PYTHONPATH=$abs_top_srcdir/python:$PYTHONPATH
export PYTHONPATH
PYTHONIOENCODING=utf_8