Skip to content

One unit test fails on FreeBSD using 1.16.0 #3483

@diizzyy

Description

@diizzyy

Hi,

One unit test fails on FreeBSD 14.3-RELEASE (amd64)

Output:
----------------------------------------------------------
Randomness seeded to: 2665499192

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
spdlog-utests is a Catch2 v3.11.0 host application.
Run with -? for options

-------------------------------------------------------------------------------
GMT offset
-------------------------------------------------------------------------------
/usr/ports/devel/spdlog/work/spdlog-1.16.0/tests/test_pattern_formatter.cpp:80
...............................................................................

/usr/ports/devel/spdlog/work/spdlog-1.16.0/tests/test_pattern_formatter.cpp:86: FAILED:
  REQUIRE( log_to_str_with_time(yesterday, "Some message", "%z", spdlog::pattern_time_type::utc, "\n") == "+00:00\n" )
with expansion:
  "-24:00
  "
  ==
  "+00:00
  "

[*** LOG ERROR #0001 ***] [2025-11-01 19:31:52] [as] async log: thread pool doesn't exist anymore
[2025-11-01 19:31:53.300] [test] [trace] Test stdout_st
[2025-11-01 19:31:53.300] [test] [debug] Test stdout_mt
[2025-11-01 19:31:53.300] [test] [info] Test stderr_st
[2025-11-01 19:31:53.300] [test] [info] Test stderr_mt
[2025-11-01 19:31:53.300] [test] [warning] Test stderr_mt
[2025-11-01 19:31:53.300] [test] [error] Test stderr_mt
[2025-11-01 19:31:53.300] [test] [critical] Test stderr_mt
[2025-11-01 19:31:53.300] [test] [info] Test stdout_color_st
[2025-11-01 19:31:53.300] [test] [trace] Test stdout_color_mt
[2025-11-01 19:31:53.300] [test] [debug] Test stderr_color_st
[2025-11-01 19:31:53.300] [test] [info] Test stderr_color_mt
[2025-11-01 19:31:53.300] [test] [warning] Test stderr_color_mt
[2025-11-01 19:31:53.300] [test] [error] Test stderr_color_mt
[2025-11-01 19:31:53.300] [test] [critical] Test stderr_color_mt
[*** LOG ERROR #0002 ***] [2025-11-01 19:31:54] [test-error] argument not found
===============================================================================
test cases: 171 | 170 passed | 1 failed
assertions: 579 | 578 passed | 1 failed

<end of output>

Software used:
fmt 12.1.0 (also occurs with 12.0.0)
spdlog 1.16.0
catch2 3.11.0
OS: FreeBSD 14.3-RELEASE (amd64)

Let me know if you need more information

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions