Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WPE] run-minibrowser: don't set a platform when COG_PLATFORM_NAME is…
… on the env https://bugs.webkit.org/show_bug.cgi?id=256043 Reviewed by Philippe Normand. Cog now can receive the platform plugin name via the environment variable COG_PLATFORM_NAME This updates the version we checkout of Cog so it includes the above fix The run-minibrowser script for WPE now checks for this environment variable before passing any --platform parameters to Cog. Some extra tests are added also. Also use logging module to log the errors on port/wpe.py to avoid having this errors getting printed when running the python unit tests. * Tools/PlatformWPE.cmake: * Tools/Scripts/webkitpy/port/wpe.py: (WPEPort.browser_name): (WPEPort.run_minibrowser): * Tools/Scripts/webkitpy/port/wpe_unittest.py: (WPEPortTest._mock_port_cog_is_built): (WPEPortTest.test_browser_name_default_wihout_cog_built): (WPEPortTest.test_browser_name_default_with_cog_built): (WPEPortTest.test_browser_name_override_minibrowser_with_cog_built): (WPEPortTest.test_browser_name_override_unknown_without_cog_built): (WPEPortTest): (WPEPortTest.test_browser_name_override_unknown_with_cog_built): (WPEPortTest.test_browser_cog_parameters_platform_default): (WPEPortTest.test_browser_cog_parameters_platform_override_via_cmdline): (WPEPortTest.test_browser_cog_parameters_platform_override_via_environ): (WPEPortTest.test_browser_name_default): Deleted. (WPEPortTest.test_browser_name_with_cog_built): Deleted. (WPEPortTest.test_browser_name_override_unknown): Deleted. Canonical link: https://commits.webkit.org/263463@main
- Loading branch information
Showing
3 changed files
with
69 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters