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

Option for unbuffered stdout for cgreen-runner #312

Open
tpecar opened this issue Nov 14, 2022 · 1 comment
Open

Option for unbuffered stdout for cgreen-runner #312

tpecar opened this issue Nov 14, 2022 · 1 comment

Comments

@tpecar
Copy link

tpecar commented Nov 14, 2022

When debugging complex tests that also output some additional debug info (custom state printouts, library debug output, etc.), it would be beneficial if the cgreen-runner process could configure its stdout as unbuffered (before forking into individual tests).

This could be done either via switch or environment variable.

@thoni56
Copy link
Contributor

thoni56 commented Aug 3, 2023

Could you give an explicit example/test case of output where this would make a difference? If the debug output is also buffered would the output be different? Or perhaps you are thinking about timing, when debugging, e.g. stopping at a breakpoint when the output have been buffered but not flushed to the terminal yet?

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

No branches or pull requests

2 participants