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

Unified Diff: mojo/tools/mopy/test_util.py

Issue 1144673003: Fix and cleanup Mojo and Mandoline python scripts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update comments. Created 5 years, 7 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/tools/mopy/paths.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/tools/mopy/test_util.py
diff --git a/mojo/tools/mopy/test_util.py b/mojo/tools/mopy/test_util.py
index cb8886a42ef917a123e291cca9c29fc0f54827e7..7d43f9d2c3d310143d150d81e89b8684c05f7325 100644
--- a/mojo/tools/mopy/test_util.py
+++ b/mojo/tools/mopy/test_util.py
@@ -22,7 +22,6 @@ def build_shell_arguments(shell_args, apps_and_args=None):
"""
result = shell_args[:]
if apps_and_args:
- # TODO(msw): Mojo's script uses --args-for; Chromium lacks support for that.
for app_and_args in apps_and_args.items():
result += app_and_args[1]
result += apps_and_args.keys()
@@ -30,12 +29,12 @@ def build_shell_arguments(shell_args, apps_and_args=None):
def get_shell_executable(config):
- paths = Paths(config=config)
+ paths = Paths(config)
if config.target_os == Config.OS_ANDROID:
return os.path.join(paths.src_root, "mojo", "tools",
"android_mojo_shell.py")
else:
- return paths.mojo_shell_path
+ return paths.mojo_runner
def build_command_line(config, shell_args, apps_and_args):
« no previous file with comments | « mojo/tools/mopy/paths.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698