On Sat, Aug 05, 2023 at 03:34:07PM +0300, Adrian Bunk wrote:
>...
> The patch below works around the address space issue, but later there is a
> test failure:
>
> ...
> 86: ./absl/log/scoped_mock_log.cc:39: Failure
> 86: Mock function called more times than expected - returning directly.
> 86: Function call: Log(INFO, @0x7f9b9b2c "./absl/log/log_format_test.cc",
> @0x7f9b9b14 "nan")
> 86: Expected: to be never called
> 86: Actual: called once - over-saturated and active
> 86: ./absl/log/log_format_test.cc:611: Failure
> 86: Actual function call count doesn't match EXPECT_CALL(test_sink,
> Send(AllOf( TextMessage(MatchesOstream(comparison_stream)),
> TextMessage(AnyOf(Eq("-nan"), Eq("nan"), Eq("NaN"), Eq("-nan(ind)"))),
> ::testing::_)))...
> 86: Expected: to be called once
> 86: Actual: never called - unsatisfied and active
> 86: [ FAILED ] FloatingPointLogFormatTest/0.NegativeNaN, where TypeParam =
> float (0 ms)
>...
FTR, this failure might be related to
https://en.wikipedia.org/wiki/NaN#Encoding
cu
Adrian