-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add SimpleProgressBar for dumb terminals #1489
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine to me, although I didn't review very closely.
I think we might want both, though... when piped to a file, it is probably more appropriate to show the one-line-per-test output?
IDK, don't think it matters a lot. We display the output of test failures anyway. |
@swift-ci please smoke test |
One place it tends to matter is when running things on CI, where it can be nice to see the names of tests scroll by, and there is little value in compressing onto a single line. |
Hm, how about SingleLine when its a dumb TERM and SimpleProgress when its a non-tty? |
@aciidb0mb3r yeah exactly |
429a688
to
bd0b895
Compare
@swift-ci please smoke test |
This progress bar is visually better if the terminal is "dumb".
bd0b895
to
7902eec
Compare
@swift-ci please smoke test |
No description provided.