Changeset 144822 in webkit
- Timestamp:
- Mar 5, 2013 2:46:57 PM (11 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r144802 r144822 1 2013-03-05 Min Qin <qinmin@chromium.org> 2 3 Copy dictionary to the external storage before running layout test on android 4 https://bugs.webkit.org/show_bug.cgi?id=111480 5 6 Reviewed by Adam Barth. 7 8 TestWebKitPlatformSupport now needs to read an external dictionary file. 9 This file does not exist on the device. We need to copy it before running layout tests. 10 11 * Scripts/webkitpy/layout_tests/port/chromium_android.py: 12 (ChromiumAndroidDriver._setup_md5sum_and_push_data_if_needed): 13 (ChromiumAndroidDriver._push_platform_resources): 14 1 15 2013-03-05 Dirk Pranke <dpranke@chromium.org> 2 16 -
trunk/Tools/Scripts/webkitpy/layout_tests/port/chromium_android.py
r142941 r144822 151 151 ] 152 152 153 # List of test resources from webkit platform. These resources will be copied to the external storage. 154 WEBKIT_PLATFORM_RESOURCES_TO_PUSH = [ 155 'third_party/hyphen/hyph_en_US.dic', 156 ] 157 153 158 MD5SUM_DEVICE_FILE_NAME = 'md5sum_bin' 154 159 MD5SUM_DEVICE_PATH = '/data/local/tmp/' + MD5SUM_DEVICE_FILE_NAME … … 572 577 self._push_fonts() 573 578 self._push_test_resources() 579 self._push_platform_resources() 574 580 575 581 def _setup_test(self): … … 647 653 for resource in TEST_RESOURCES_TO_PUSH: 648 654 self._push_file_if_needed(self._port.layout_tests_dir() + '/' + resource, DEVICE_LAYOUT_TESTS_DIR + resource) 655 656 def _push_platform_resources(self): 657 self._log_debug('Pushing platform resources') 658 external_storage = self._port._filesystem.join(self._run_adb_command(['shell', 'echo $EXTERNAL_STORAGE']).strip(), 'Source', 'WebKit', 'chromium') 659 for resource in WEBKIT_PLATFORM_RESOURCES_TO_PUSH: 660 self._push_file_if_needed(self._port._chromium_base_dir(self._port._filesystem) + '/' + resource, external_storage + '/' + resource) 649 661 650 662 def _restart_adb_as_root(self):
Note: See TracChangeset
for help on using the changeset viewer.