Skip to content

./x test --help --verbose is not very discoverable and may produce excess output (consider adding --list) #140477

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

Open
lolbinarycat opened this issue Apr 29, 2025 · 0 comments
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Comments

@lolbinarycat
Copy link
Contributor

Summary

This command lists all the different test targets that exist, however it is not very easy to find this behavior since it is not listed in the normal helptext.

Additionally, this command causes cargo to be run in verbose mode, which causes a lot of usually not interesting info to be printed.

Command used

./x test --help
./x test --help --verbose

Expected behaviour

Somewhere in the regular helptext this functionality is listed, or there is a --list flag that does a similar thing but doesn't run cargo in verbose mode (additionally, a --list flag could accept an argument and only print paths matching that argument).

Actual behaviour

Nothing printed by ./x test --help says how to get a list of test paths.

Bootstrap configuration (bootstrap.toml)

profile = "tools"  # Includes one of the default files in src/bootstrap/defaults
change-id = 138986

Operating system

Arch Linux (rolling)

HEAD

02257c202b33054a623bed712efe7f887b482a02

@lolbinarycat lolbinarycat added C-enhancement Category: An issue proposing an enhancement or a PR with one. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) labels Apr 29, 2025
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Apr 29, 2025
@jieyouxu jieyouxu removed the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Apr 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one. 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