Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4b94cb749c7a88ad1ffd700c6c5c13a7a57b9243
https://github.com/WebKit/WebKit/commit/4b94cb749c7a88ad1ffd700c6c5c13a7a57b9243
Author: Fujii Hironori <[email protected]>
Date: 2025-10-06 (Mon, 06 Oct 2025)
Changed paths:
M Tools/Scripts/webkitpy/api_tests/runner.py
M Tools/Scripts/webkitpy/port/base.py
M Tools/Scripts/webkitpy/port/glib.py
M Tools/glib/api_test_runner.py
Log Message:
-----------
[GTK][WPE] Make run-api-tests support Linux ports
https://bugs.webkit.org/show_bug.cgi?id=185512
Reviewed by Adrian Perez de Castro.
TestWebKitAPI programs are located in
WebKitBuild/{GTK,WPE}/{Release,Debug}/bin/TestWebKitAPI/ directory for GTK and
WPE ports. Added a new method Port.path_to_api_test to get the path. And,
override it in glib.py.
Moved the code setting TEST_WEBKIT_API_WEBKIT2_RESOURCES_PATH and
TEST_WEBKIT_API_WEBKIT2_INJECTED_BUNDLE_PATH environment variables from
api_test_runner.py to glib.py. WEBKIT_EXEC_PATH was already set by glib.py.
Removed the code of setting WEBKIT_EXEC_PATH from api_test_runner.py.
* Tools/Scripts/webkitpy/api_tests/runner.py:
(_Worker._run_single_test):
(_Worker.run):
* Tools/Scripts/webkitpy/port/base.py:
(Port.path_to_api_test):
(Port.path_to_api_test_binaries):
* Tools/Scripts/webkitpy/port/glib.py:
(GLibPort.run_webdriver):
(GLibPort):
(GLibPort.path_to_api_test):
(GLibPort.environment_for_api_tests):
* Tools/glib/api_test_runner.py:
(TestRunner._setup_testing_environment_for_driver):
Canonical link: https://commits.webkit.org/301100@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes