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

Unified Diff: build/android/pylib/single_test_runner.py

Issue 10702162: add sd card when creating avd and wait for it ready before pushing data into it (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix coding style Created 8 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
« no previous file with comments | « build/android/pylib/android_commands.py ('k') | build/install-build-deps-android-sdk.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/single_test_runner.py
diff --git a/build/android/pylib/single_test_runner.py b/build/android/pylib/single_test_runner.py
index 46cfa9112f8f45f0a6b71085b5ea1ef7d737d07a..f46551715cde70d0ec74b34d9678f2ced362fa21 100644
--- a/build/android/pylib/single_test_runner.py
+++ b/build/android/pylib/single_test_runner.py
@@ -248,6 +248,8 @@ class SingleTestRunner(BaseTestRunner):
if test_data and not self.fast_and_loose:
# Due to the large size of certain test data, we use sdcard to store the
# test data and create symbolic links to map them to data/local/tmp/.
+ # Before that, make sure SD card is ready.
+ self.adb.WaitForSdCardReady(20)
for data in test_data:
self.CopyTestData([data], '/sdcard/')
self.LinkSdCardPathsToTempDir(test_data)
« no previous file with comments | « build/android/pylib/android_commands.py ('k') | build/install-build-deps-android-sdk.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698