googletest icon indicating copy to clipboard operation
googletest copied to clipboard

Support --gtest_stream_result_to on Windows

Open davidmatson opened this issue 3 years ago • 3 comments

Does the feature exist in the most recent commit?

No

Why do we need this feature?

There is no other built-in streaming support, and currently this feature excludes Windows. This feature provides the best way to communicate results back from a compiled test exe in a programmatic way while the test is running.

Describe the proposal

Update StreamingListener to include this define on Windows (and make other changes needed for compilation to succeed on Windows; Windows supports sockets but some includes/APIs may be different).

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

Yes; Windows (but not any specific version).

davidmatson avatar Jul 10 '22 21:07 davidmatson

We would consider accepting a pull request to support this if it does not overly complicate the code.

dinord avatar Jul 11 '22 19:07 dinord

#3989

davidmatson avatar Sep 19 '22 19:09 davidmatson

@dinord - thanks! this issue shows as "help wanted", and there's a PR here, if someone is free to take a look: #3989

davidmatson avatar Jan 20 '23 18:01 davidmatson