mirror of https://github.com/gabime/spdlog.git
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.
The unit tests were failing when users defined custom SPDLOG_LEVEL_NAMES or SPDLOG_SHORT_LEVEL_NAMES in tweakme.h. This happened because the tests expected the default level names but were getting the customized ones instead. For example, with custom short names defined, the test would fail like this: REQUIRE( spdlog::level::to_string_view(spdlog::level::trace) == "trace" ) with expansion: "TRC" == "trace" This fix undefines these macros in tests/includes.h (right after setting SPDLOG_ACTIVE_LEVEL) so that unit tests always use spdlog's default level names, regardless of any customizations in tweakme.h. Fixes #3466 |
4 days ago | |
|---|---|---|
| .. | ||
| CMakeLists.txt | 4 months ago | |
| includes.h | 4 days ago | |
| main.cpp | 3 weeks ago | |
| test_async.cpp | 1 year ago | |
| test_backtrace.cpp | 2 years ago | |
| test_bin_to_hex.cpp | 2 years ago | |
| test_cfg.cpp | 11 months ago | |
| test_circular_q.cpp | 2 years ago | |
| test_create_dir.cpp | 3 weeks ago | |
| test_custom_callbacks.cpp | 7 months ago | |
| test_daily_logger.cpp | 3 weeks ago | |
| test_dup_filter.cpp | 2 years ago | |
| test_errors.cpp | 2 years ago | |
| test_eventlog.cpp | 3 weeks ago | |
| test_file_helper.cpp | 2 years ago | |
| test_file_logging.cpp | 7 months ago | |
| test_fmt_helper.cpp | 2 years ago | |
| test_macros.cpp | 3 weeks ago | |
| test_misc.cpp | 3 weeks ago | |
| test_mpmc_q.cpp | 2 years ago | |
| test_pattern_formatter.cpp | 3 weeks ago | |
| test_registry.cpp | 7 months ago | |
| test_ringbuffer.cpp | 2 months ago | |
| test_sink.h | 7 months ago | |
| test_stdout_api.cpp | 3 weeks ago | |
| test_stopwatch.cpp | 7 months ago | |
| test_systemd.cpp | 2 years ago | |
| test_time_point.cpp | 2 years ago | |
| utils.cpp | 3 weeks ago | |
| utils.h | 6 years ago | |