Changeset 252714 in webkit
- Timestamp:
- Nov 20, 2019, 3:21:10 PM (7 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
Scripts/webkitpy/port/base.py (modified) (1 diff)
-
Scripts/webkitpy/port/darwin.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r252711 r252714 1 2019-11-20 Fujii Hironori <Hironori.Fujii@sony.com> 2 3 run-api-tests reports AssertionError os.pathsep not in value in _append_value_colon_separated in Cygwin Python 4 https://bugs.webkit.org/show_bug.cgi?id=204400 5 6 Reviewed by Jonathan Bedard. 7 8 r249500 changed Port.environment_for_api_tests to use 9 Port._append_value_colon_separated to append a build path to some 10 enviroment variables. _append_value_colon_separated has a 11 assertion to ensure the given value doesn't iclude ':'. However, 12 Port._build_path contains ':' on Cygwin Python. 13 14 Those enviroment variables are only for macOS and iOS. Move the code to darwin.py. 15 16 * Scripts/webkitpy/port/base.py: 17 (Port.environment_for_api_tests): 18 * Scripts/webkitpy/port/darwin.py: 19 (DarwinPort.environment_for_api_tests): 20 1 21 2019-11-20 Jonathan Bedard <jbedard@apple.com> 2 22 -
trunk/Tools/Scripts/webkitpy/port/base.py
r252616 r252714 261 261 262 262 def environment_for_api_tests(self): 263 build_root_path = str(self._build_path()) 264 environment = self.setup_environ_for_server() 265 for name in ['DYLD_LIBRARY_PATH', '__XPC_DYLD_LIBRARY_PATH', 'DYLD_FRAMEWORK_PATH', '__XPC_DYLD_FRAMEWORK_PATH']: 266 self._append_value_colon_separated(environment, name, build_root_path) 267 268 return environment 263 return self.setup_environ_for_server() 269 264 270 265 def _check_driver(self): -
trunk/Tools/Scripts/webkitpy/port/darwin.py
r251901 r252714 270 270 def app_executable_from_bundle(self, app_bundle): 271 271 return self._plist_data_from_bundle(app_bundle, 'CFBundleExecutable') 272 273 def environment_for_api_tests(self): 274 environment = super(DarwinPort, self).environment_for_api_tests() 275 build_root_path = str(self._build_path()) 276 for name in ['DYLD_LIBRARY_PATH', '__XPC_DYLD_LIBRARY_PATH', 'DYLD_FRAMEWORK_PATH', '__XPC_DYLD_FRAMEWORK_PATH']: 277 self._append_value_colon_separated(environment, name, build_root_path) 278 return environment
Note:
See TracChangeset
for help on using the changeset viewer.