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

Unified Diff: mojo/tools/run_mojo_python_bindings_tests.py

Issue 517353002: mojo: Starting generator for python bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove not-to-commit Created 6 years, 3 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 | « mojo/python/tests/bindings_constants_unittest.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/tools/run_mojo_python_bindings_tests.py
diff --git a/mojo/tools/run_mojo_python_bindings_tests.py b/mojo/tools/run_mojo_python_bindings_tests.py
index 3793ee0ce4478501608dcdf856a045004a117352..b7b2e28c754a0d57431912d319c519d603f1eed5 100755
--- a/mojo/tools/run_mojo_python_bindings_tests.py
+++ b/mojo/tools/run_mojo_python_bindings_tests.py
@@ -23,6 +23,12 @@ class PythonBindingsTestRunner(MojoPythonTestRunner):
python_build_dir = os.path.join(args.build_dir, 'python')
if python_build_dir not in sys.path:
sys.path.append(python_build_dir)
+ python_gen_dir = os.path.join(
+ args.build_dir,
+ 'gen', 'mojo', 'public', 'interfaces', 'bindings', 'tests')
+ print python_gen_dir
+ if python_gen_dir not in sys.path:
+ sys.path.append(python_gen_dir)
def main():
« no previous file with comments | « mojo/python/tests/bindings_constants_unittest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698