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

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

Issue 10896050: Android: Use external storage for test data. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 3 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/constants.py ('k') | build/android/pylib/test_package_apk.py » ('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 c4de68c4d0adfecb4b55446e08ea7cf9e9ed9770..3f56b7b8e682709746512b000e8dc592263d39cf 100644
--- a/build/android/pylib/single_test_runner.py
+++ b/build/android/pylib/single_test_runner.py
@@ -252,13 +252,10 @@ class SingleTestRunner(BaseTestRunner):
self.tool.CopyFiles()
test_data = self.GetDataFilesForTestSuite()
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.
+ # Make sure SD card is ready.
self.adb.WaitForSdCardReady(20)
for data in test_data:
- self.CopyTestData([data], '/sdcard/')
- self.LinkSdCardPathsToTempDir(test_data)
+ self.CopyTestData([data], constants.TEST_DATA_DIR)
def RunTestsWithFilter(self):
"""Runs a tests via a small, temporary shell script."""
« no previous file with comments | « build/android/pylib/constants.py ('k') | build/android/pylib/test_package_apk.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698