Bug 270426

Summary: import-w3c-tests should rewrite reference file names in fuzzy annotation
Product: WebKit Reporter: Matt Woodrow <mattwoodrow>
Component: Tools / TestsAssignee: Matt Woodrow <mattwoodrow>
Status: RESOLVED FIXED    
Severity: Normal CC: gsnedders, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 270427    

Description Matt Woodrow 2024-03-03 18:37:55 PST
The <meta> fuzzy tag supports passing the name of the reference file for which it should be applied (for situations where there could be multiple references, I believe).

Our harness does take this into account, and only uses the fuzzy expectation if the reference filename matches, but we don't rewrite '-ref' to '-expected', so it never matches.

It would be nice if we did this, and converted existing imported tests.
Comment 1 Radar WebKit Bug Importer 2024-03-04 14:50:27 PST
<rdar://problem/124034791>
Comment 2 Matt Woodrow 2024-03-04 14:52:35 PST
Pull request: https://github.com/WebKit/WebKit/pull/25456
Comment 3 Matt Woodrow 2024-03-04 16:18:51 PST
Pull request: https://github.com/WebKit/WebKit/pull/25462
Comment 4 EWS 2024-03-06 11:13:21 PST
Committed 275750@main (525f853875c0): <https://commits.webkit.org/275750@main>

Reviewed commits have been landed. Closing PR #25462 and removing active labels.