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

Unified Diff: build/android/run_tests.py

Issue 10651003: Fail the buildbot step if no devices are connected. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/run_tests.py
diff --git a/build/android/run_tests.py b/build/android/run_tests.py
index f8aeb87a21bd7424b06a64e3a51763fb3677562c..928bc2fac4855ef518e737e9ca7a7e0b0b90e2a7 100755
--- a/build/android/run_tests.py
+++ b/build/android/run_tests.py
@@ -328,6 +328,8 @@ def _RunATestSuite(options):
if not attached_devices:
logging.critical('A device must be attached and online.')
+ if options.annotate:
+ print '@@@STEP_FAILURE@@@'
return 1
if (len(attached_devices) > 1 and options.test_suite and
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698