Skip to content

Tracking Issue for assorted compiletest maintenance #130565

Open
0 of 1 issue completed
Open
Tracking Issue
0 of 1 issue completed
@jieyouxu

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

Sub-issues

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

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions