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

Unified Diff: build/android/pylib/gtest/gtest_test_instance.py

Issue 1576473002: Android gtest runner: Only query device for test list when necessary (take 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: indentation fix Created 4 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 | « no previous file | build/android/pylib/local/device/local_device_gtest_run.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/gtest/gtest_test_instance.py
diff --git a/build/android/pylib/gtest/gtest_test_instance.py b/build/android/pylib/gtest/gtest_test_instance.py
index a118ea76ceb36f7bbaac3a0d6b87437e7ebf9402..538376d724a7b1261fbd6deb6e9c60055b510f83 100644
--- a/build/android/pylib/gtest/gtest_test_instance.py
+++ b/build/android/pylib/gtest/gtest_test_instance.py
@@ -133,9 +133,9 @@ class GtestTestInstance(test_instance.TestInstance):
# TODO(jbudorick): Support multiple test suites.
if len(args.suite_name) > 1:
raise ValueError('Platform mode currently supports only 1 gtest suite')
- self._suite = args.suite_name[0]
-
+ self._extract_test_list_from_filter = args.extract_test_list_from_filter
self._shard_timeout = args.shard_timeout
+ self._suite = args.suite_name[0]
incremental_part = '_incremental' if args.incremental_install else ''
apk_path = os.path.join(
@@ -255,6 +255,10 @@ class GtestTestInstance(test_instance.TestInstance):
def test_arguments(self):
return self._test_arguments
+ @property
+ def extract_test_list_from_filter(self):
+ return self._extract_test_list_from_filter
+
#override
def TestType(self):
return 'gtest'
« no previous file with comments | « no previous file | build/android/pylib/local/device/local_device_gtest_run.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698