You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're evaluating ways to report GTest test results more robustly in BoringSSL. The JSON format is an option but it doesn't work when the test binary crashes.
--gtest_stream_result_to would avoid that (edit: though it seems to not include other output, so maybe it's not what we want?), but there's no Windows and macOS support. Looks like someone's got Windows support in #3989. Missing macOS support seems to just be a mistake in GTest. (See below)
This seems to just have been an oversight. POSIX socket APIs work just
fine on macOS.
Fixesgoogle#4214.
PiperOrigin-RevId: 523398386
Change-Id: I9d56cd9c6933318c1f0b0024f7fef44122fd0c83
Does the feature exist in the most recent commit?
No
Why do we need this feature?
We're evaluating ways to report GTest test results more robustly in BoringSSL. The JSON format is an option but it doesn't work when the test binary crashes.
--gtest_stream_result_to
would avoid that (edit: though it seems to not include other output, so maybe it's not what we want?), but there's no Windows and macOS support. Looks like someone's got Windows support in #3989. Missing macOS support seems to just be a mistake in GTest. (See below)Describe the proposal.
There doesn't seem to be any real reason this feature doesn't work on macOS.
GTEST_CAN_STREAM_RESULTS_
isn't defined forGTEST_OS_MAC
, but if I fix that, it works just fine. It's just based on sockets. This seems to just have been an oversight in GTest.https://github.com/google/googletest/blob/main/googletest/include/gtest/internal/gtest-port.h#L692-L700
Is the feature specific to an operating system, compiler, or build system version?
macOS
The text was updated successfully, but these errors were encountered: