Bug 221049

Summary: [GTK] run-gtk-tests: Ensure correct count when subtests are specified
Product: WebKit Reporter: Alicia Boya García <aboya>
Component: Tools / TestsAssignee: Alicia Boya García <aboya>
Status: RESOLVED FIXED    
Severity: Normal CC: aperez, bugs-noreply, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Alicia Boya García
Reported 2021-01-27 10:50:04 PST
Currently the code of run-gtk-tests adds the number of skipped tests to the count of total tests. That computation failed to take into account the case where specific subtests are run (by means of passing the -p argument), instead of the full test suite. This patch fixes that, only adding to "total tests" those skipped subtests that were also specified with the -p argument when using that mode.
Attachments
Patch (1.98 KB, patch)
2021-01-27 10:51 PST, Alicia Boya García
no flags
Alicia Boya García
Comment 1 2021-01-27 10:51:40 PST
EWS
Comment 2 2021-01-28 06:25:11 PST
Committed r272013: <https://trac.webkit.org/changeset/272013> All reviewed patches have been landed. Closing bug and clearing flags on attachment 418560 [details].
Radar WebKit Bug Importer
Comment 3 2021-01-28 06:26:14 PST
Note You need to log in before you can comment on or make changes to this bug.