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 3e37f23fdabc8960262b6adedea0c86f33bf319a..dd0948827643be3085b9c94ba2672dac48671a4b 100644 |
--- a/build/android/pylib/gtest/test_runner.py |
+++ b/build/android/pylib/gtest/test_runner.py |
@@ -61,14 +61,15 @@ class TestRunner(base_test_runner.BaseTestRunner): |
#override |
def PushDataDeps(self): |
- self.device.old_interface.WaitForSdCardReady(20) |
+ self.device.WaitUntilFullyBooted(timeout=20) |
self.tool.CopyFiles() |
if os.path.exists(constants.ISOLATE_DEPS_DIR): |
- device_dir = self.device.old_interface.GetExternalStorage() |
# TODO(frankf): linux_dumper_unittest_helper needs to be in the same dir |
# as breakpad_unittests exe. Find a better way to do this. |
if self.test_package.suite_name == 'breakpad_unittests': |
device_dir = constants.TEST_EXECUTABLE_DIR |
+ else: |
+ device_dir = self.device.GetExternalStoragePath() |
for p in os.listdir(constants.ISOLATE_DEPS_DIR): |
self.device.old_interface.PushIfNeeded( |
os.path.join(constants.ISOLATE_DEPS_DIR, p), |