compiletest: test suites handle normalizations differently and inconsistently #128952
Labels
A-compiletest
Area: The compiletest test runner
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
E-hard
Call for participation: Hard difficulty. Experience needed to fix: A lot.
E-needs-design
This issue needs exploration and design to see how and if we can fix/implement it
E-needs-investigation
Call for partcipation: This issues needs some investigation to determine current status
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Noticed in #128929 (comment).
Some test suites use
normalize_output
when error format is JSON, some test suites do a bit of their own normalization with custom rules, and what we end up with is likely some duplicate logic and subtle inconsistencies. We should probably have e.g. paths normalized consistently across test suites, and document the suite-specific normalizations.The text was updated successfully, but these errors were encountered: