Index: mojo/tools/apptest_runner.py |
diff --git a/mojo/tools/apptest_runner.py b/mojo/tools/apptest_runner.py |
index d84dd234af44f0eaf755d47211a7f703f39ad357..a0b524570a84c16b2fa714aa692160cc112a991e 100755 |
--- a/mojo/tools/apptest_runner.py |
+++ b/mojo/tools/apptest_runner.py |
@@ -64,7 +64,12 @@ def main(argv): |
test_list = gtest_list_tests(list_output) |
for test in test_list: |
- command_line = [mojo_shell, apptest + " --gtest_filter=" + test] |
+ # TODO(msw): enable passing arguments to tests down from the test harness. |
+ command_line = [ |
+ mojo_shell, |
+ "--args-for={0} --example_apptest_arg --gtest_filter={1}".format( |
+ apptest, test), |
+ apptest] |
_logging.debug("Running %s..." % command_line) |
try: |