Bug 215073 - Write a script to find duplicate files and delete some duplicate tests in LayoutTests
Summary: Write a script to find duplicate files and delete some duplicate tests in Lay...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Darin Adler
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-08-01 22:55 PDT by Darin Adler
Modified: 2020-08-03 10:38 PDT (History)
8 users (show)

See Also:


Attachments
Patch (115.98 KB, patch)
2020-08-01 23:05 PDT, Darin Adler
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Adler 2020-08-01 22:55:01 PDT
Write a script to find duplicate files and delete some duplicate tests in LayoutTests
Comment 1 Darin Adler 2020-08-01 23:05:48 PDT
Created attachment 405808 [details]
Patch
Comment 2 Darin Adler 2020-08-01 23:08:34 PDT
This only finds exact duplicates; we also might have slightly different versions of the same tests.
Comment 3 EWS 2020-08-02 08:12:45 PDT
Committed r265187: <https://trac.webkit.org/changeset/265187>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 405808 [details].
Comment 4 Radar WebKit Bug Importer 2020-08-02 08:13:25 PDT
<rdar://problem/66444378>
Comment 5 Simon Fraser (smfr) 2020-08-03 10:13:17 PDT
Oh, I mistakenly thought this was an old patch. Do we need this script and check-for-duplicated-platform-test-results ?
Comment 6 Darin Adler 2020-08-03 10:38:56 PDT
check-for-duplicated-platform-test-results is a much more valuable script, finding duplicate results that can definitely be deleted.

This is a super simplistic, more general purpose script that looks for any duplicated files, motivated by wanting to find duplicated *tests* (not test *results*).