Skip to content

compiletest: Way to bless pretty testsuite #75895

Open
@tesuji

Description

@tesuji

Currently, compiletest have no way to bless tests in src/test/pretty.
I use

rustc +stage1 -Z unpretty=hir,typed src/test/pretty/issue-4264.rs > src/test/pretty/issue-4264.pp

to manually bless a test.

@rustbot modify labels: T-compiler

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-compiletestArea: The compiletest test runnerA-prettyArea: Pretty printing (including `-Z unpretty`)A-testsuiteArea: The testsuite used to check the correctness of rustcC-enhancementCategory: An issue proposing an enhancement or a PR with one.E-mediumCall for participation: Medium difficulty. Experience needed to fix: Intermediate.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions