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

Unified Diff: mojo/tools/apptest_runner.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/shell/switches.cc ('k') | mojo/tools/gtest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/tools/apptest_runner.py
diff --git a/mojo/tools/apptest_runner.py b/mojo/tools/apptest_runner.py
index 901babfaa7452f3505b2cccb1131449d35b28db6..bbe483999db2a0e0c7bdca8291f3897b067693d8 100755
--- a/mojo/tools/apptest_runner.py
+++ b/mojo/tools/apptest_runner.py
@@ -18,8 +18,9 @@ import gtest
def main():
logging.basicConfig()
+ # TODO(msw): Restore the logging level when apptests are working as expected.
# Uncomment to debug:
- #_logging.setLevel(logging.DEBUG)
+ _logging.setLevel(logging.DEBUG)
parser = argparse.ArgumentParser(description='A test runner for gtest '
'application tests.')
@@ -59,8 +60,7 @@ def main():
apptest_result = "Succeeded"
for fixture in fixtures:
- args_for_apptest = " ".join(["--args-for=" + apptest,
- "--gtest_filter=" + fixture] + apptest_args)
+ args_for_apptest = " ".join(["--gtest_filter=" + fixture] + apptest_args)
success = RunApptestInShell(mojo_shell_path, apptest,
shell_args + [args_for_apptest])
« no previous file with comments | « mojo/shell/switches.cc ('k') | mojo/tools/gtest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698