-
Notifications
You must be signed in to change notification settings - Fork 13.3k
./x.py test should be able to run individual tests #48483
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 agree that it'd be nice, but I think this would require some refactoring in |
For the scope of this bug we can just transform |
I'd like to take care of this |
Sorry, I haven't been able to work on this. If anyone else wants to take it, feel free to do it |
@christianpoveda No problem. Will give this a try as my first contribution. |
./x.py test should be able to run individual tests Allows user to be able to run individual tests by specifying filename i.e `./x.py test src/test/run-pass/foo.rs` Fixes #48483
Currently to run an individual test, you have to run
./x.py test src/test/run-pass --test-args foo.rs
. This isn't very obvious; it would be nice ifsrc/test
was special cased such that./x.py test ./x.py test src/test/run-pass/foo.rs
worksRelevant code: https://github.com/rust-lang/rust/blob/master/src/bootstrap/test.rs
The text was updated successfully, but these errors were encountered: