Skip to content

bootstrap/rustbuild: --test-args has no effect for cargo tests #66458

Closed
@RalfJung

Description

@RalfJung

I tried running ./x.py test src/tools/cargo --test-args rustc, expecting that only tests with "rustc" in their name would be run. However, this has no effect. It looks like --test-args is just ignored.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.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