You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
spdlog/tests
Gabi Melman 9c58257480
Fix zformatter on Apple and POSIX.1-2024 conforming platform (#3366)
* Add test case for #3351 (wrong GMT offset in SunOS/Solaris fallback)

* Fix #3352 (Missing test for Apple / POSIX.1-2024 chooses buggy workaround)

Apple platforms have had the tm_gmtoff-field at least since Mac OS X 10.0,
as are POSIX.1-2024 conforming systems, which are also required to support
it.

This has the unfortunate effect to use the SunOS/Solaris fallback, which
doesn't compute the correct value if the passed value of tm isn't the
current system time, i.e. localtime(::time()) (#3351).

* Fixed GMT offset test

---------

Co-authored-by: toh <toh@ableton.com>
5 months ago
..
CMakeLists.txt Enabled bin_to_hex utest for stdformat, fixed std::formatter (#3315) 8 months ago
includes.h utf8_to_wstrbuf now handles invalid utf8 sequences (#3244) 10 months ago
main.cpp update clang format again 2 years ago
test_async.cpp Gabime/async flush (#3235) 10 months ago
test_backtrace.cpp update clang format again 2 years ago
test_bin_to_hex.cpp clang format 2 years ago
test_cfg.cpp Support custom environment variables for load_env_levels (#3327) 7 months ago
test_circular_q.cpp clang format 2 years ago
test_create_dir.cpp Clang format 1 year ago
test_custom_callbacks.cpp Enabled bin_to_hex utest for stdformat, fixed std::formatter (#3315) 8 months ago
test_daily_logger.cpp Fix test_daily_logger 7 months ago
test_dup_filter.cpp update clang format again 2 years ago
test_errors.cpp Fix typos found by codespell (#3011) 2 years ago
test_eventlog.cpp update clang format again 2 years ago
test_file_helper.cpp Fix typos found by codespell (#3011) 2 years ago
test_file_logging.cpp Adding on demand truncation for basic file sinks (#3280) 9 months ago
test_fmt_helper.cpp clang format 2 years ago
test_macros.cpp update clang format again 2 years ago
test_misc.cpp Gabime/fwrite unlocked (#3276) 9 months ago
test_mpmc_q.cpp update clang format again 2 years ago
test_pattern_formatter.cpp Fix zformatter on Apple and POSIX.1-2024 conforming platform (#3366) 5 months ago
test_registry.cpp Revert "Added a function to add callbacks that are called when a logger is registered (#2883)" 2 years ago
test_sink.h Enabled bin_to_hex utest for stdformat, fixed std::formatter (#3315) 8 months ago
test_stdout_api.cpp clang format 2 years ago
test_stopwatch.cpp clang format 2 years ago
test_systemd.cpp clang format 2 years ago
test_time_point.cpp update clang format again 2 years ago
utils.cpp update clang format again 2 years ago
utils.h Merge pull request #1414 from BioDataAnalysis/bda_tests_support_empty_eol 6 years ago