Skip to content
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

Get x.py test output in human-readable format #59332

Closed
alexreg opened this issue Mar 21, 2019 · 4 comments
Closed

Get x.py test output in human-readable format #59332

alexreg opened this issue Mar 21, 2019 · 4 comments
Labels
T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@alexreg
Copy link
Contributor

alexreg commented Mar 21, 2019

When x.py test fails, the stdout and stderr are in JSON format, most annoyingly. How can we get it in the usual human-readable format? (This should really be default, by the way.)

@Centril
Copy link
Contributor

Centril commented Mar 21, 2019

Maybe it would be sufficient to pretty print the JSON for now?

@Centril Centril added T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Mar 21, 2019
@phansch
Copy link
Member

phansch commented Mar 21, 2019

I think #59128 may be fixing this, in addition to colored output? Specifically 7c8482c.

cc @oli-obk

@alexreg
Copy link
Contributor Author

alexreg commented Mar 21, 2019

@phansch Cool. You may well be right, judging by that. Incidentally, I should have said the --error-format option is misleading (and not properly documented in the case of x.py)... it seems to simply get ignored.

@jyn514
Copy link
Member

jyn514 commented Apr 29, 2023

x test no longer outputs in JSON format by default; I'm going to close this.

@jyn514 jyn514 closed this as completed Apr 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

4 participants