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

Unified Diff: build/android/pylib/local/device/local_device_gtest_run.py

Issue 1393203002: Android gtest runner: Use first test list result rather than merging (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: yep, no idea Created 5 years, 2 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/pylib/local/device/local_device_gtest_run.py
diff --git a/build/android/pylib/local/device/local_device_gtest_run.py b/build/android/pylib/local/device/local_device_gtest_run.py
index 0f360d4a9e943045c946f68689f98788fd2966e9..7d10f77ffa544b6432bb2b93f5701239c66fe549 100644
--- a/build/android/pylib/local/device/local_device_gtest_run.py
+++ b/build/android/pylib/local/device/local_device_gtest_run.py
@@ -229,9 +229,9 @@ class LocalDeviceGtestRun(local_device_test_run.LocalDeviceTestRun):
tests = self._test_instance.FilterTests(tests)
return tests
+ # Query all devices in case one fails.
test_lists = self._env.parallel_devices.pMap(list_tests).pGet(None)
- tests = list(sorted(set().union(*[set(tl) for tl in test_lists if tl])))
- return tests
+ return list(sorted(set().union(*[set(tl) for tl in test_lists if tl])))
#override
def _RunTest(self, device, test):
« 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