Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Unified Diff: test/small/gyptest-small.py

Issue 1313553008: Inject pylib first in the path. This ensures that test load the version (Closed) Base URL: http://gyp.googlecode.com/svn/trunk
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp_main.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/small/gyptest-small.py
diff --git a/test/small/gyptest-small.py b/test/small/gyptest-small.py
index a8d61fb6c545fe7b1673bb70ecc9b308cdef34e6..e7562cb7971136c465e132b8c53b17104b892228 100755
--- a/test/small/gyptest-small.py
+++ b/test/small/gyptest-small.py
@@ -20,7 +20,7 @@ test = TestGyp.TestGyp()
# Add pylib to the import path (so tests can import their dependencies).
# This is consistant with the path.append done in the top file "gyp".
-sys.path.append(os.path.join(test._cwd, 'pylib'))
+sys.path.insert(0, os.path.join(test._cwd, 'pylib'))
# Add new test suites here.
files_to_test = [
« no previous file with comments | « gyp_main.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698