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

Unified Diff: scripts/slave/recipe_modules/chromium_android/example.expected/java_method_count_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/java_method_count_builder_basic.json
diff --git a/scripts/slave/recipe_modules/chromium_android/example.expected/java_method_count_builder_basic.json b/scripts/slave/recipe_modules/chromium_android/example.expected/java_method_count_builder_basic.json
index 9e67cfa4d6da974009ac7c10cd768e589d8497b4..cd563f201bfd76c93f31603282c312c3b6ce97b9 100644
--- a/scripts/slave/recipe_modules/chromium_android/example.expected/java_method_count_builder_basic.json
+++ b/scripts/slave/recipe_modules/chromium_android/example.expected/java_method_count_builder_basic.json
@@ -317,7 +317,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": {
@@ -611,6 +611,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",
@@ -623,7 +644,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": [
@@ -652,7 +676,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": [
@@ -674,7 +738,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": [
@@ -703,10 +786,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"
@@ -717,7 +800,7 @@
"--arch",
"arm",
"--more-info",
- "[SLAVE_BUILD]/src/out/Release/full_log"
+ "[SLAVE_BUILD]/src/out/Release/full_logcat"
],
"cwd": "[SLAVE_BUILD]",
"env": {
@@ -742,7 +825,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": {
@@ -755,4 +838,4 @@
"recipe_result": null,
"status_code": 0
}
-]
+]

Powered by Google App Engine
This is Rietveld 408576698