Skip to content

compiletest accepts header directives that are not supported by a testsuite #137625

@lolbinarycat

Description

@lolbinarycat

For example, you can add normalize-stdout to a rustdoc test, and this will be accepted.

This is unexpected because compiletest will catch nonsense/typod directives, such as normalize-stdoutttttt.

Ideally, if you use an incompatible directive, you will get a warning/error that tells you that it is incompatible, along with which test suites it is compatible with.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-compiletestArea: The compiletest test runnerC-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