Skip to content

Commit c66a2d5

Browse files
committed
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>
1 parent c2f1d07 commit c66a2d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/atlocal.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ HAVE_PYTHON='@HAVE_PYTHON@'
44
PERL='@PERL@'
55
PYTHON='@PYTHON@'
66

7-
PYTHONPATH=$PYTHONPATH:$abs_top_srcdir/python:$abs_top_builddir/tests
7+
PYTHONPATH=$abs_top_srcdir/python:$abs_top_builddir/tests:$PYTHONPATH
88
export PYTHONPATH
99

1010
PYTHONIOENCODING=utf_8

0 commit comments

Comments
 (0)