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

[FR]: Streaming results format to stdout #4665

Open
davidmatson opened this issue Nov 20, 2024 · 5 comments
Open

[FR]: Streaming results format to stdout #4665

davidmatson opened this issue Nov 20, 2024 · 5 comments

Comments

@davidmatson
Copy link
Contributor

davidmatson commented Nov 20, 2024

Does the feature exist in the most recent commit?

No

Why do we need this feature?

Currently, we have per-OS code for stream_result_to, and Windows support is not yet available.

Describe the proposal.

Provide a switch to have stdout report progress in the same format used by stream_result_to rather than the human-readable format.

Perhaps:
--gtest_machine_results
or
--gtest_stream_result_to=stdout

Is the feature specific to an operating system, compiler, or build system version?

No

@RedMarcher
Copy link

RedMarcher commented Nov 21, 2024

Hello, I'm new to this particular project. Would you mind telling me which file the current implementation for stream_result_to is located at? You mentioned that it was different for each OS, so is the feature implementation currently spread out among multiple different files?

@RedMarcher
Copy link

Looking over your comment more closely, do you just want a feature where whatever is currently spit out of stream_result_to is also available to stdout?

@davidmatson
Copy link
Contributor Author

Looking over your comment more closely, do you just want a feature where whatever is currently spit out of stream_result_to is also available to stdout?

yes (and also not having the pretty-print format written stdout)

@RedMarcher
Copy link

Looking over your comment more closely, do you just want a feature where whatever is currently spit out of stream_result_to is also available to stdout?

yes (and also not having the pretty-print format written stdout)

So basically I should add a new flag using one of the names you proposed to activate this feature?

@davidmatson
Copy link
Contributor Author

So basically I should add a new flag using one of the names you proposed to activate this feature?

This is a feature request to add a new flag that would control this behavior, yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants