Skip to content
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

cargotest should respect "--test-args" #77260

Closed
RalfJung opened this issue Sep 27, 2020 · 0 comments · Fixed by #84779
Closed

cargotest should respect "--test-args" #77260

RalfJung opened this issue Sep 27, 2020 · 0 comments · Fixed by #84779
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Comments

@RalfJung
Copy link
Member

One particular cargotest project failed on CI and I wanted to replicate this locally, so I ran

./x.py test cargotest --test-args tokei

However, this started to clone servo, at which point I hit Ctrl-C. Does cargotest provide a way to only run one of the tests involved?

For now I'll probably have to patch cargotest itself as I'd rather not wait for everything else to test before it gets to the project I am interested in.

@jyn514 jyn514 added A-testsuite Area: The testsuite used to check the correctness of rustc T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) labels Sep 27, 2020
@bors bors closed this as completed in 2d496f4 May 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants