Index: build/android/pylib/local/device/local_device_instrumentation_test_run.py |
diff --git a/build/android/pylib/local/device/local_device_instrumentation_test_run.py b/build/android/pylib/local/device/local_device_instrumentation_test_run.py |
index 1cc82f961405df3dcc7533a7ff1551c743fca76d..3adced357ef8cb6a9acfed93c4a038ce48a8051f 100644 |
--- a/build/android/pylib/local/device/local_device_instrumentation_test_run.py |
+++ b/build/android/pylib/local/device/local_device_instrumentation_test_run.py |
@@ -205,7 +205,11 @@ class LocalDeviceInstrumentationTestRun( |
#override |
def _GetTests(self): |
- return self._test_instance.GetTests() |
+ tests = self._test_instance.GetTests() |
+ tests = self._ApplyExternalSharding( |
+ tests, self._test_instance.external_shard_index, |
+ self._test_instance.total_external_shards) |
+ return tests |
#override |
def _GetUniqueTestName(self, test): |