Skip to content

Tracking Issue for assorted compiletest maintenance #130565

Open
0 of 1 issue completed
Open

Description

@jieyouxu

This is a tracking issue for a series of compiletest cleanups. This tracking issue is on-going and will be edited as suitable to reflect the next steps. Tasks should be broken up into small actionable items.

Motivation

Currently compiletest is a bit of a mess causing it to be really hard to maintain. Let's try to do some housekeeping in compiletest to make it easier to maintain.

Phase 1: compiletest/src/runtest.rs cleanups

Phase 2: Rework compiletest error handling and error reporting

  • Step 1: Investigate how compiletest currently handles errors and reports them.
  • Step 2: Come up with a design to make compiletest error reporting more cohesive and more helpful for users.
  • TODO

Phase 3: Rework directive handling

There are more phases intended, but they are to be planned.

Discussions

Rubber-ducking thread: https://rust-lang.zulipchat.com/#narrow/stream/326414-t-infra.2Fbootstrap/topic/.28Rubberducking.29.20compiletest.20test.20discovery.20.2F.20directives

Activity

  1. added
    A-compiletestArea: The compiletest test runner
    C-cleanupCategory: PRs that clean code up or issues documenting cleanup.
    C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFC
    T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
    on Sep 19, 2024
  2. moved this from Backlog to In progress in compiletest maintenance and improvementson Sep 19, 2024
  3. self-assigned this
    on Sep 19, 2024
  4. added
    T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
    on Sep 19, 2024
  5. changed the title [-]Tracking Issue for assorted compiletest cleanups[/-] [+]Tracking Issue for assorted compiletest cleanups (and maybe improvements)[/+] on Sep 19, 2024
  6. added a commit that references this issue on Sep 20, 2024
  7. added a commit that references this issue on Sep 20, 2024
  8. changed the title [-]Tracking Issue for assorted compiletest cleanups (and maybe improvements)[/-] [+]Tracking Issue for assorted compiletest maintenance[/+] on Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

A-compiletestArea: The compiletest test runnerC-cleanupCategory: PRs that clean code up or issues documenting cleanup.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions