Skip to content

Split codegen regressions into focused integration suites #771

Closed

Description

@LunaStev

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.

Activity

  1. added
    enhancement
    help wanted
    needs testing
    refactor
    on Sep 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementhelp wantedneeds testingrefactor

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions