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 440c1508c7843530f83d44018d152db12619c324..5bce0ed6b263f2c03ca48c04505ab58e12880ad4 100755 |
--- a/build/android/buildbot/bb_device_steps.py |
+++ b/build/android/buildbot/bb_device_steps.py |
@@ -155,7 +155,7 @@ def InstallApk(options, test, print_step=False): |
RunCmd(['build/android/adb_install_apk.py'] + args, halt_on_failure=True) |
-def RunInstrumentationSuite(options, test): |
+def RunInstrumentationSuite(options, test, flunk_on_failure=True): |
"""Manages an invocation of test_runner.py for instrumentation tests. |
Args: |
@@ -183,7 +183,8 @@ def RunInstrumentationSuite(options, test): |
if test.extra_flags: |
args.extend(test.extra_flags) |
- RunCmd(['build/android/test_runner.py', 'instrumentation'] + args) |
+ RunCmd(['build/android/test_runner.py', 'instrumentation'] + args, |
+ flunk_on_failure=flunk_on_failure) |
def RunWebkitLint(target): |