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

Unified Diff: build/android/buildbot/bb_device_steps.py

Issue 19501002: [Android] Add option so that instrumentation tests need not flunk on failure. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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/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):
« 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