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

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

Issue 647013002: [Android] Reland of 'Add zip pushing and refine push mode selection.' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « build/android/pylib/gtest/test_package_exe.py ('k') | build/android/pylib/instrumentation/test_runner.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 faffe8fd1e38cda3322e780116fd5efa79b8b8c4..b912d53ee7dfd4687ef862ff3b9de28967ef828e 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()
- for p in os.listdir(constants.ISOLATE_DEPS_DIR):
- self.device.PushChangedFiles(
- os.path.join(constants.ISOLATE_DEPS_DIR, p),
+ 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.
« no previous file with comments | « build/android/pylib/gtest/test_package_exe.py ('k') | build/android/pylib/instrumentation/test_runner.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698