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

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

Issue 18233018: [Android] Use isolate remap instead of check. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed all comments Created 7 years, 5 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
Index: build/android/pylib/instrumentation/test_runner.py
diff --git a/build/android/pylib/instrumentation/test_runner.py b/build/android/pylib/instrumentation/test_runner.py
index 29225a5c184ea418bde984c39ca68cde9b268f7d..96aff5cad7eb97de9139f75d4a4dec9cd6c85a70 100644
--- a/build/android/pylib/instrumentation/test_runner.py
+++ b/build/android/pylib/instrumentation/test_runner.py
@@ -106,8 +106,10 @@ class TestRunner(base_test_runner.BaseTestRunner):
if test_data:
# Make sure SD card is ready.
self.adb.WaitForSdCardReady(20)
- for data in test_data:
- self.CopyTestData([data], self.adb.GetExternalStorage())
+ for p in test_data:
+ self.adb.PushIfNeeded(
+ os.path.join(constants.DIR_SOURCE_ROOT, p),
+ os.path.join(self.adb.GetExternalStorage(), p))
# TODO(frankf): Specify test data in this file as opposed to passing
# as command-line.

Powered by Google App Engine
This is Rietveld 408576698