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

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

Issue 1236933002: Make RelativePath use abspath rather than realpath for the 'path' variable. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk
Patch Set: Update test to actually run gyp. Confirmed test fails using realpath() but passes using abspath(). 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
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 = [

Powered by Google App Engine
This is Rietveld 408576698