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

Unified Diff: mojo/tools/gtest.py

Issue 1070463003: Initialize command line arguments for Mojo apptests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Restoring url-mappings and specifying test apps on the commandline. Created 5 years, 8 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/apptest_runner.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/tools/gtest.py
diff --git a/mojo/tools/gtest.py b/mojo/tools/gtest.py
index c03b62f49cc4b922022761bc756c35dc3ca45d1e..5f35cef381d9c234bbdf26d27878e90b14300c3e 100644
--- a/mojo/tools/gtest.py
+++ b/mojo/tools/gtest.py
@@ -70,9 +70,7 @@ def get_fixtures(mojo_shell, apptest):
[TestSuite.TestFixture, ... ]
An empty list is returned on failure, with errors logged.
"""
- command = [mojo_shell,
- "--args-for={0} --gtest_list_tests".format(apptest),
- apptest]
+ command = [mojo_shell, apptest, "--gtest_list_tests"]
try:
list_output = subprocess.check_output(command, stderr=subprocess.STDOUT)
_logging.debug("Tests listed:\n%s" % list_output)
« no previous file with comments | « mojo/tools/apptest_runner.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698