Chromium Code Reviews| 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..2f52c3dbb5ae4adcd4100ac605a1aa9a43e655ac 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 sorted(next(l for l in test_lists if l)) |
|
jbudorick
2015/10/08 20:39:37
How does this handle the filter resolving to no te
agrieve
2015/10/09 00:13:51
Yikes! nice catch! Fixed.
|
| #override |
| def _RunTest(self, device, test): |