Index: build/android/pylib/gtest/test_runner.py |
diff --git a/build/android/pylib/gtest/test_runner.py b/build/android/pylib/gtest/test_runner.py |
index b912d53ee7dfd4687ef862ff3b9de28967ef828e..faffe8fd1e38cda3322e780116fd5efa79b8b8c4 100644 |
--- a/build/android/pylib/gtest/test_runner.py |
+++ b/build/android/pylib/gtest/test_runner.py |
@@ -70,10 +70,10 @@ class TestRunner(base_test_runner.BaseTestRunner): |
device_dir = constants.TEST_EXECUTABLE_DIR |
else: |
device_dir = self.device.GetExternalStoragePath() |
- self.device.PushChangedFiles( |
- [(os.path.join(constants.ISOLATE_DEPS_DIR, p), |
+ for p in os.listdir(constants.ISOLATE_DEPS_DIR): |
+ self.device.PushChangedFiles( |
+ os.path.join(constants.ISOLATE_DEPS_DIR, p), |
os.path.join(device_dir, p)) |
- for p in os.listdir(constants.ISOLATE_DEPS_DIR)]) |
def _ParseTestOutput(self, p): |
"""Process the test output. |