summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDon Anderson <dda@ddanderson.com>2015-01-17 21:14:18 -0500
committerDon Anderson <dda@ddanderson.com>2015-01-17 21:14:18 -0500
commitb86c3d7f0f8627c644b07fb500cdcd1c4feb60df (patch)
tree40ecf766c1948c938a5ae6a09edb1f78e1a0ef7a
parent07737ed80b4dc5f416975db80271ad41720e1fa7 (diff)
downloadmongo-b86c3d7f0f8627c644b07fb500cdcd1c4feb60df.tar.gz
Put the local build directories to the front of the sys path.
Refs #1577.
-rw-r--r--test/suite/run.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/suite/run.py b/test/suite/run.py
index 63101518bd9..fcdf33befa5 100644
--- a/test/suite/run.py
+++ b/test/suite/run.py
@@ -54,8 +54,8 @@ else:
sys.exit(False)
# Cannot import wiredtiger and supporting utils until we set up paths
-sys.path.append(os.path.join(wt_builddir, 'lang', 'python'))
-sys.path.append(os.path.join(wt_disttop, 'lang', 'python'))
+sys.path.insert(1, os.path.join(wt_builddir, 'lang', 'python'))
+sys.path.insert(1, os.path.join(wt_disttop, 'lang', 'python'))
# Add all 3rd party directories: some have code in subdirectories
for d in os.listdir(wt_3rdpartydir):