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

Unified Diff: scripts/slave/recipe_modules/chromium_android/example.expected/basic_builder_basic.json

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/recipe_modules/chromium_android/example.expected/basic_builder_basic.json
diff --git a/scripts/slave/recipe_modules/chromium_android/example.expected/basic_builder_basic.json b/scripts/slave/recipe_modules/chromium_android/example.expected/basic_builder_basic.json
index 3fcccc575e0a6b93d16cfda04c23a725d5c8835b..a1091fcdf07d32de6c33efa8223fbae49082e453 100644
--- a/scripts/slave/recipe_modules/chromium_android/example.expected/basic_builder_basic.json
+++ b/scripts/slave/recipe_modules/chromium_android/example.expected/basic_builder_basic.json
@@ -288,7 +288,7 @@
"[BUILD]/scripts/slave/daemonizer.py",
"--",
"[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
- "[SLAVE_BUILD]/src/out/logcat"
+ "[SLAVE_BUILD]/src/out/logcat_dir"
],
"cwd": "[SLAVE_BUILD]",
"env": {
@@ -582,6 +582,27 @@
"name": "Monkey Test"
},
{
+ "cmd": [],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "AndroidWebViewTest"
+ },
+ {
+ "cmd": [
+ "[BUILD]/scripts/slave/daemonizer.py",
+ "--",
+ "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
+ "[TMP_BASE]/logcat_tmp_1"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "env": {
+ "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
+ },
+ "name": "AndroidWebViewTest.spawn_logcat_monitor",
+ "~followup_annotations": [
+ "@@@STEP_NEST_LEVEL@1@@@"
+ ]
+ },
+ {
"cmd": [
"[SLAVE_BUILD]/src/build/android/adb_install_apk.py",
"[SLAVE_BUILD]/src/out/Release/apks/AndroidWebView.apk",
@@ -594,7 +615,10 @@
"env": {
"PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
},
- "name": "install AndroidWebView.apk"
+ "name": "AndroidWebViewTest.install AndroidWebView.apk",
+ "~followup_annotations": [
+ "@@@STEP_NEST_LEVEL@1@@@"
+ ]
},
{
"cmd": [
@@ -623,7 +647,47 @@
"--official-build"
],
"cwd": "[SLAVE_BUILD]",
- "name": "Instrumentation test SmallTest"
+ "name": "AndroidWebViewTest.Instrumentation test SmallTest",
+ "~followup_annotations": [
+ "@@@STEP_NEST_LEVEL@1@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "[BUILD]/scripts/slave/tee.py",
+ "/path/to/tmp/logcat",
+ "--",
+ "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
+ "[TMP_BASE]/logcat_tmp_1"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "AndroidWebViewTest.logcat_dump",
+ "~followup_annotations": [
+ "@@@STEP_NEST_LEVEL@1@@@"
+ ]
+ },
+ {
+ "cmd": [],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "unittests"
+ },
+ {
+ "cmd": [
+ "[BUILD]/scripts/slave/daemonizer.py",
+ "--",
+ "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
+ "[TMP_BASE]/logcat_tmp_2"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "env": {
+ "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
+ },
+ "name": "unittests.spawn_logcat_monitor",
+ "~followup_annotations": [
+ "@@@STEP_NEST_LEVEL@1@@@"
+ ]
},
{
"cmd": [
@@ -645,7 +709,26 @@
"env": {
"PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
},
- "name": "unittests"
+ "name": "unittests.unittests",
+ "~followup_annotations": [
+ "@@@STEP_NEST_LEVEL@1@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "[BUILD]/scripts/slave/tee.py",
+ "/path/to/tmp/logcat",
+ "--",
+ "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
+ "[TMP_BASE]/logcat_tmp_2"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "unittests.logcat_dump",
+ "~followup_annotations": [
+ "@@@STEP_NEST_LEVEL@1@@@"
+ ]
},
{
"cmd": [
@@ -674,10 +757,10 @@
"python",
"-u",
"[BUILD]/scripts/slave/tee.py",
- "[SLAVE_BUILD]/src/out/Release/full_log",
+ "[SLAVE_BUILD]/src/out/Release/full_logcat",
"--",
"[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
- "[SLAVE_BUILD]/src/out/logcat"
+ "[SLAVE_BUILD]/src/out/logcat_dir"
],
"cwd": "[SLAVE_BUILD]",
"name": "logcat_dump"
@@ -688,7 +771,7 @@
"--arch",
"arm",
"--more-info",
- "[SLAVE_BUILD]/src/out/Release/full_log"
+ "[SLAVE_BUILD]/src/out/Release/full_logcat"
],
"cwd": "[SLAVE_BUILD]",
"env": {
@@ -713,7 +796,7 @@
"cmd": [
"[SLAVE_BUILD]/src/build/android/asan_symbolize.py",
"-l",
- "[SLAVE_BUILD]/src/out/Release/full_log"
+ "[SLAVE_BUILD]/src/out/Release/full_logcat"
],
"cwd": "[SLAVE_BUILD]",
"env": {

Powered by Google App Engine
This is Rietveld 408576698