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

Unified Diff: scripts/slave/recipes/android_webview_shell_tests.py

Issue 1465343002: [Android] Add context manager to record logcat during step(s). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Removed unused config. Created 5 years, 1 month 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
Index: scripts/slave/recipes/android_webview_shell_tests.py
diff --git a/scripts/slave/recipes/android_webview_shell_tests.py b/scripts/slave/recipes/android_webview_shell_tests.py
index a06bbbc3c34a06bd963dfdb7061ed273fe3f4d0c..493928e19e5c1e7411cb524a588e14e10c24bc28 100644
--- a/scripts/slave/recipes/android_webview_shell_tests.py
+++ b/scripts/slave/recipes/android_webview_shell_tests.py
@@ -86,8 +86,9 @@ def RunSteps(api):
# Run the instrumentation tests from the package.
run_tests(api)
- api.chromium_android.logcat_dump()
- api.chromium_android.stack_tool_steps()
+ logcat_file = api.chromium.output_dir.join('full_logcat')
+ api.chromium_android.logcat_dump(output_logcat_file=logcat_file)
+ api.chromium_android.stack_tool_steps(logcat_file=logcat_file)
api.chromium_android.test_report()
def run_tests(api):

Powered by Google App Engine
This is Rietveld 408576698