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

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

Issue 11669022: Android buildbot fixes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 | « no previous file | build/android/pylib/test_result.py » ('j') | build/android/pylib/test_result.py » ('J')
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 0343055454f660d34b515ab83fdb6ff542499589..7e14f56b87dd49a6ffd84f37b3f68dcbd43e4e1f 100755
--- a/build/android/buildbot/buildbot_functions.sh
+++ b/build/android/buildbot/buildbot_functions.sh
@@ -64,9 +64,6 @@ function bb_baseline_setup {
unset CXX_target
fi
- adb kill-server
- adb start-server
-
local build_path="${SRC_ROOT}/out/${BUILDTYPE}"
local landmines_triggered_path="$build_path/.landmines_triggered"
python "$SRC_ROOT/build/landmines.py"
@@ -406,6 +403,11 @@ function bb_extract_build {
# Does not break build if a phone fails to restart
function bb_reboot_phones {
echo "@@@BUILD_STEP Rebooting phones@@@"
+ # Restart adb to work around bugs, sleep to wait for usb discovery.
+ adb kill-server
+ adb start-server
+ sleep .5
+
(
set +e
cd $CHROME_SRC/build/android/pylib;
« no previous file with comments | « no previous file | build/android/pylib/test_result.py » ('j') | build/android/pylib/test_result.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698