Skip to content

tidy: find unnecessary .stderr files for error-pattern UI tests #97221

Closed as not planned
@JohnTitor

Description

@JohnTitor

It could happen that someone is initially supposed to add a UI test using the //~ ERROR but noticed it's hard/impossible with that test, then used the error-pattern annotation instead.
In this situation, a .stderr file is created after running x.py test, but tidy won't complain about removing it after switching to error-pattern. Note that error-pattern doesn't need that file.
Yes, I made the exact same mistake in #97075, it'd be helpful if tidy finds it and tells us.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions