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

Unified Diff: mojo/devtools/common/mojo_test

Issue 1701193002: [fusl] Build example apptests under fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: actually run tests Created 4 years, 10 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: mojo/devtools/common/mojo_test
diff --git a/mojo/devtools/common/mojo_test b/mojo/devtools/common/mojo_test
index d72bb826040951b5ffa7536a35b7868e0ca692b6..5b08071eddab3d5a56d0263e9f8da93026f8833b 100755
--- a/mojo/devtools/common/mojo_test
+++ b/mojo/devtools/common/mojo_test
@@ -11,6 +11,7 @@ TODO(vtl|msw): Add a way of specifying data dependencies.
import argparse
import logging
import sys
+import os.path
from devtoolslib import apptest_dart
from devtoolslib import apptest_gtest
@@ -79,8 +80,12 @@ def main():
print e
return 1
+ shell_dir = os.path.dirname(config.shell_path)
viettrungluu 2016/02/17 22:18:04 I think you should just plumb through shell_path,
kulakowski 2016/02/17 22:41:52 Done.
target_os = "android" if script_args.android else "linux"
- test_list_globals = {"target_os": target_os}
+ test_list_globals = {
+ "shell_dir": shell_dir,
+ "target_os": target_os,
+ }
exec script_args.test_list_file in test_list_globals
test_list = test_list_globals["tests"]
« no previous file with comments | « BUILD.gn ('k') | mojo/tools/data/fusl_apptests » ('j') | mojo/tools/data/fusl_apptests » ('J')

Powered by Google App Engine
This is Rietveld 408576698