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

Unified Diff: mandoline/tools/android_run_mandoline.py

Issue 1143223005: Report apptest_runner device not found infra failures. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Simplify changes. Created 5 years, 6 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 | « build/android/test_runner.py ('k') | mojo/tools/android_mojo_shell.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mandoline/tools/android_run_mandoline.py
diff --git a/mandoline/tools/android_run_mandoline.py b/mandoline/tools/android_run_mandoline.py
index d5540a4854fd9cf7ad414d0c27bb1634a7e2e76b..71ac9ad3a4529b993abfaa77981261b5d78ba03f 100755
--- a/mandoline/tools/android_run_mandoline.py
+++ b/mandoline/tools/android_run_mandoline.py
@@ -9,7 +9,7 @@ import os
import sys
sys.path.insert(0, os.path.join(os.path.abspath(os.path.dirname(__file__)),
- '../../mojo/tools'))
+ os.pardir, os.pardir, 'mojo', 'tools'))
from mopy.android import AndroidShell
from mopy.config import Config
@@ -38,9 +38,7 @@ def main():
is_debug=runner_args.debug,
apk_name="Mandoline.apk")
shell = AndroidShell(config)
- args.extend(shell.PrepareShellRun(None, runner_args.device, runner_args.gdb))
-
- shell.CleanLogs()
+ shell.InitShell(None, runner_args.device)
p = shell.ShowLogs()
shell.StartShell(args, sys.stdout, p.terminate, runner_args.gdb)
return 0
« no previous file with comments | « build/android/test_runner.py ('k') | mojo/tools/android_mojo_shell.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698