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"] |