Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: fc767a874967a8d29ab09dc42e7638af6e338202
https://github.com/WebKit/WebKit/commit/fc767a874967a8d29ab09dc42e7638af6e338202
Author: Claudio Saavedra <[email protected]>
Date: 2026-07-15 (Wed, 15 Jul 2026)
Changed paths:
M Tools/glib/api_test_runner.py
Log Message:
-----------
[GLIB] Report Google Test API test results with the same name as other ports
https://bugs.webkit.org/show_bug.cgi?id=319481
Reviewed by Adrian Perez de Castro.
Google Test based API tests (TestWTF, TestWebCore, TestWebKit and
TestJavaScriptCore) were uploaded to results.webkit.org using a colon
between the binary and the test case (e.g. TestWTF:Base64.Decode), while
the other ports use a dot (TestWTF.Base64.Decode). As a result the same
test was indexed under two different names depending on the port, which
defeats cross-port analysis for the tests that are shared across all of
them.
Report Google Test cases using the dot separator so they match the name
used by the other ports. GLib tests keep the "<binary>:<subtest>" form,
since their subtest is a /path and they have no counterpart on the other
ports. Additionally, teach the test runner to accept the dotted form on
the command line, so a name copied from results.webkit.org can be run
directly with run-gtk-tests and run-wpe-tests.
* Tools/glib/api_test_runner.py:
(TestRunner._get_tests):
(TestRunner._get_test_name_for_upload):
(TestRunner._binary_and_subtest):
(TestRunner._getsubtests_to_run_for_test):
(TestRunner.run_tests):
Canonical link: https://commits.webkit.org/317233@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications