Skip to content

./x.py test should be able to run individual tests #48483

Closed
@Manishearth

Description

@Manishearth

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 if src/test was special cased such that ./x.py test ./x.py test src/test/run-pass/foo.rs works

Relevant code: https://github.com/rust-lang/rust/blob/master/src/bootstrap/test.rs

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-testsuiteArea: The testsuite used to check the correctness of rustcE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions