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..24c61de9dfb30ef1ac3c9dcde5d034571e0185a2 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.flakiness_dashboard_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('--flakiness-dashboard-server', action='store_true', |
Isaac (away)
2013/01/16 03:11:26
Could we change this to '--upload-flakiness-result
frankf
2013/01/16 18:00:38
Done.
|
+ help=('Upload the results to the flakiness dashboard.')) |
Isaac (away)
2013/01/16 03:11:26
nit: no parens needed for help string
frankf
2013/01/16 18:00:38
Done.
|
options, args = parser.parse_args(argv[1:]) |
def ParserError(msg): |