Wave
Wave copied to clipboard
Split codegen regressions into focused integration suites
Motivation
tests/codegen_regressions.rs exceeds 7,600 lines and mixes language semantics, target ABI, OS fixtures and diagnostics. Contributors changing one area must navigate unrelated target setup and helpers.
Starting points: tests/codegen_regressions.rs.
Scope
Extract shared test support and divide integration suites by language, ABI, platform and diagnostics. Move tests without deleting cases or relaxing target gates. #641 is completed historical Python-test relocation; #1070/#1071 subsequently replaced those tools/tests with native Rust contracts. This issue concerns the separate compiler code-generation regression suite; it does not request more Python packages or revival of removed tests.
Difficulty: medium.
Completion criteria
- [ ] Account for all previous test cases and maintain an equivalent executed set.
- [ ] Keep default/core64 and target feature gating behavior intact.
- [ ] Preserve fixture isolation, timeouts and failure diagnostics.
- [ ] Do not duplicate large helper implementations across new suites.