-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Run unit tests by passing a file path #86421
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
Comments
I would like to work on this. @rustbot claim |
Curiously, passing a file like I understand "it works for me" is incredibly unhelpful, so if anyone can think of ways to try and narrow down why it only sometimes works for some people, I would be happy to assist in testing things. I am on a x86_64 linux system, and it is definitely working at commit 9fef8d9 (June 16, 2021) which is before the commit in the issue here. However the original issue was reported 14 days ago. I highly doubt that something fixed and then re-broke the test runner, so I imagine it's something setup-dependent. |
@asquared31415 |
Ohhhh my bad, I misinterpreted |
I have made a pull request that makes it accept a file path but runs all tests in that crate. I could not figure out how to test only the path/file specified. @rustbot release-assignment |
As mentioned in #86459 (comment), I'm going to go ahead and close this issue -- I don't think this is something we want to track as rustbuild work. |
Currently, we have to invoke the following to run specific unit tests:
This isn't straightforward, it'd be great if we could do with:
But unfortunately, it fails currently:
meta
This happens on b17d9c1.
(This was originally reported on rust-lang/rustc-dev-guide#1138)
The text was updated successfully, but these errors were encountered: