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

Unified Diff: build/android/buildbot/buildbot_functions.sh

Issue 10942015: Extend logcat monitor to all device actions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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/buildbot/bb_webkit_latest_tester.sh ('k') | build/android/buildbot_try_compile_test.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/buildbot/buildbot_functions.sh
diff --git a/build/android/buildbot/buildbot_functions.sh b/build/android/buildbot/buildbot_functions.sh
index 38ef67d2f27873ee09e262aa1239d7f09eaa5898..4a9aa5bd6510c5e185379e9933eb7e0d60a92688 100755
--- a/build/android/buildbot/buildbot_functions.sh
+++ b/build/android/buildbot/buildbot_functions.sh
@@ -196,19 +196,23 @@ function bb_run_tests_emulator {
build/android/run_tests.py -e --xvfb --verbose
}
-# Run tests on an actual device. (Better have one plugged in!)
-function bb_run_unit_tests {
+function bb_spawn_logcat_monitor_and_status {
python build/android/device_status_check.py
local LOGCAT_DUMP_DIR="$CHROME_SRC/out/logcat"
rm -rf "$LOGCAT_DUMP_DIR"
python build/android/adb_logcat_monitor.py "$LOGCAT_DUMP_DIR" &
+}
- build/android/run_tests.py --xvfb --verbose
-
+function bb_print_logcat {
echo "@@@BUILD_STEP Logcat dump@@@"
python build/android/adb_logcat_printer.py "$LOGCAT_DUMP_DIR"
}
+# Run tests on an actual device. (Better have one plugged in!)
+function bb_run_unit_tests {
+ build/android/run_tests.py --xvfb --verbose
+}
+
# Run instrumentation test.
# Args:
# $1: TEST_APK.
« no previous file with comments | « build/android/buildbot/bb_webkit_latest_tester.sh ('k') | build/android/buildbot_try_compile_test.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698