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

Unified Diff: build/android/single_test_runner.py

Issue 9185043: Increase Android test robustness. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove 'ALWAYS' Created 8 years, 11 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 | « build/android/run_tests.py ('k') | build/android/test_package.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/single_test_runner.py
diff --git a/build/android/single_test_runner.py b/build/android/single_test_runner.py
index 8ec9501f7fda7c150fa0d9ec305952811f4dbd06..ed422c1f2a386ebdbe53c596a04350f0f95fa902 100644
--- a/build/android/single_test_runner.py
+++ b/build/android/single_test_runner.py
@@ -31,7 +31,8 @@ class SingleTestRunner(BaseTestRunner):
def __init__(self, device, test_suite, gtest_filter, test_arguments, timeout,
rebaseline, performance_test, cleanup_test_files, tool,
- dump_debug_info=False):
+ dump_debug_info=False,
+ fast_and_loose=False):
BaseTestRunner.__init__(self, device)
self._running_on_emulator = self.device.startswith('emulator')
self._gtest_filter = gtest_filter
@@ -42,6 +43,7 @@ class SingleTestRunner(BaseTestRunner):
os.path.basename(test_suite), gtest_filter)
else:
self.dump_debug_info = None
+ self.fast_and_loose = fast_and_loose
self.test_package = TestPackageExecutable(self.adb, device,
test_suite, timeout, rebaseline, performance_test, cleanup_test_files,
@@ -205,7 +207,7 @@ class SingleTestRunner(BaseTestRunner):
self.test_package.StripAndCopyExecutable()
self.test_package.tool.CopyFiles()
test_data = self.GetDataFilesForTestSuite()
- if test_data:
+ if test_data and not self.fast_and_loose:
if self.test_package.test_suite_basename == 'page_cycler_tests':
# Since the test data for page cycler are huge (around 200M), we use
# sdcard to store the data and create symbol links to map them to
« no previous file with comments | « build/android/run_tests.py ('k') | build/android/test_package.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698