summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authormikecase <mikecase@chromium.org>2015-10-19 16:04:12 -0700
committerCommit bot <commit-bot@chromium.org>2015-10-19 23:04:54 +0000
commitafa43844372289e1a2de145f0053ba3a0ac18a8b (patch)
tree5617a951ca108c6c77d8ce30c67b866e7071ddc6 /build
parente226319ce7bcccf9ba0429ba88e9b8bc293ee1ec (diff)
downloadchromium_src-afa43844372289e1a2de145f0053ba3a0ac18a8b.zip
chromium_src-afa43844372289e1a2de145f0053ba3a0ac18a8b.tar.gz
chromium_src-afa43844372289e1a2de145f0053ba3a0ac18a8b.tar.bz2
[Android] Add repeat argument to UiRobot tests.
The test runner assumes that all tests ran in platform mode of the args.repeat attribute. This is causing the UiRobot tests to crash since they don't have this. BUG= Review URL: https://codereview.chromium.org/1415753002 Cr-Commit-Position: refs/heads/master@{#354901}
Diffstat (limited to 'build')
-rwxr-xr-xbuild/android/test_runner.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/android/test_runner.py b/build/android/test_runner.py
index 955e09b..9ef3cd2 100755
--- a/build/android/test_runner.py
+++ b/build/android/test_runner.py
@@ -554,6 +554,9 @@ def AddUirobotTestOptions(parser):
group.add_argument('--app-under-test', required=True,
help='APK to run tests on.')
group.add_argument(
+ '--repeat', dest='repeat', type=int, default=0,
+ help='Number of times to repeat the uirobot test.')
+ group.add_argument(
'--minutes', default=5, type=int,
help='Number of minutes to run uirobot test [default: %(default)s].')