Skip to content

y test: improve verbose output formatting #8

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

Merged
merged 7 commits into from
Feb 8, 2025
Merged

Conversation

xizheyin
Copy link
Contributor

@xizheyin xizheyin commented Feb 7, 2025

./y -v test will output like this.
image

- Refactor Log trait to handle command status and details consistently
- Make verbose flag shared between main command and subcommands
- Improve log output format for test and build commands

This change ensures that `y -v test` produce verbose outputs.

Signed-off-by: xizheyin <[email protected]>
Signed-off-by: xizheyin <[email protected]>
xizheyin and others added 2 commits February 8, 2025 15:13
Co-authored-by: Trevor Gross <[email protected]>
Signed-off-by: xizheyin <[email protected]>
@xizheyin
Copy link
Contributor Author

xizheyin commented Feb 8, 2025

I refactored the structures, making it clearer.

Copy link
Contributor

@tgross35 tgross35 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks!

@tgross35 tgross35 merged commit 2f477f0 into rust-lang:main Feb 8, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants