aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEthan Jackson <ethan@nicira.com>2012-03-01 16:21:55 -0800
committerEthan Jackson <ethan@nicira.com>2012-03-01 16:41:01 -0800
commitc66a2d54ea192256410538a27f87c29f3b960956 (patch)
treef1ddc473aaeffc60c7382ed6099d3e4fe03d0ef7
parentc2f1d07b0e3af22a093ad5776a8b08999dfbed86 (diff)
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 7f09143f..aa86251c 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:$abs_top_builddir/tests
+PYTHONPATH=$abs_top_srcdir/python:$abs_top_builddir/tests:$PYTHONPATH
export PYTHONPATH
PYTHONIOENCODING=utf_8