Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
RalfJung opened this issue Nov 15, 2019 · 2 comments
Closed

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

RalfJung opened this issue Nov 15, 2019 · 2 comments
Labels
C-bug Category: This is a bug. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Comments

@RalfJung
Copy link
Member

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.

@jonas-schievink jonas-schievink added T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) C-bug Category: This is a bug. labels Nov 15, 2019
@jyn514
Copy link
Member

jyn514 commented Jul 11, 2020

Looks like duplicate of #72536

@jyn514 jyn514 changed the title bootstrap/rustbuild: --test-args has no effect for tool tests bootstrap/rustbuild: --test-args has no effect for cargo tests Nov 9, 2022
@jyn514
Copy link
Member

jyn514 commented Feb 3, 2023

This has been fixed, x t src/tools/cargo --stage 0 --test-args util::auth::Secret only runs 3 tests for me locally.

@jyn514 jyn514 closed this as completed Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

No branches or pull requests

3 participants