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

Unified Diff: build/android/run_tests.py

Issue 11359050: Android: Fix test runner retry mode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/run_tests.py
diff --git a/build/android/run_tests.py b/build/android/run_tests.py
index 904b82dcb40e312978b62026fdd3cb4aa7913519..1d58daff9ad2dbd8cae5cb9f99896368ee254ce9 100755
--- a/build/android/run_tests.py
+++ b/build/android/run_tests.py
@@ -49,6 +49,7 @@ loaded. We don't care about the rare testcases which succeeded on emuatlor, but
failed on device.
"""
+import copy
import fnmatch
import logging
import optparse
@@ -362,8 +363,10 @@ def Dispatch(options):
options.build_type)
failures = 0
for suite in all_test_suites:
- options.test_suite = suite
- failures += _RunATestSuite(options)
+ # Give each test suite its own copy of options.
+ test_options = copy.deepcopy(options)
+ test_options.test_suite = suite
+ failures += _RunATestSuite(test_options)
if options.use_xvfb:
xvfb.Stop()
« 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