Skip to content

x.py test src/tools/cargo --test-args x does not pass x as an argument #82621

Closed
@jyn514

Description

@jyn514

I tried this: x.py test src/tools/cargo --test-args message_format
I expected to see this happen: x.py only runs cargo tests with message_format in the name.
Instead, this happened: x.py runs all cargo tests:

running: "/home/joshua/rustc3/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "test" "--target" "x86_64-unknown-linux-gnu" "-Zbinary-dep-depinfo" "-j" "8" "--release" "--manifest-path" "/home/joshua/rustc3/src/tools/cargo/Cargo.toml"

Meta

I'm using 5d02aa1150a2afea958bbeacaa7683ba3a8f00f3 (branched from 8a9f786).

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-contributor-roadblockArea: Makes things more difficult for new or seasoned contributors to RustA-testsuiteArea: The testsuite used to check the correctness of rustcC-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