Index: build/android/buildbot/bb_device_steps.py |
diff --git a/build/android/buildbot/bb_device_steps.py b/build/android/buildbot/bb_device_steps.py |
index 51e6d5e92a5b8ca37012f800dcd9b73a041f1971..b5d8310e872c6407e6d5d77c6eb4c62ebcd08cd4 100755 |
--- a/build/android/buildbot/bb_device_steps.py |
+++ b/build/android/buildbot/bb_device_steps.py |
@@ -168,6 +168,9 @@ def RunInstrumentationSuite(options, test): |
args.append('--release') |
if options.asan: |
args.append('--tool=asan') |
+ if options.upload_to_flakiness_server: |
+ args.append('--flakiness-dashboard-server=' |
+ 'chrome-android-staging-results.appspot.com') |
RunCmd(['build/android/run_instrumentation_tests.py'] + args) |
@@ -279,6 +282,8 @@ def main(argv): |
help='Install an apk by name') |
parser.add_option('--reboot', action='store_true', |
help='Reboot devices before running tests') |
+ parser.add_option('--upload-to-flakiness-server', action='store_true', |
+ help='Upload the results to the flakiness dashboard.') |
options, args = parser.parse_args(argv[1:]) |
def ParserError(msg): |