Commit Graph

342 Commits (3b55709e7fe9de66a5caa4872f5957d981ad6a93)

Author SHA1 Message Date
gabime efd73ac956 Merge remote-tracking branch 'origin/v1.x' into conf-env3 6 years ago
gabime b7d7334451 Renamed level loaders 6 years ago
gabime 817d2764b6 Fix bench tidy warning 6 years ago
gabime c10be7eaec merge with v1.x 6 years ago
gabime 5370443ece clang-format 6 years ago
Gabi Melman 12f36debae Merge pull request #1414 from BioDataAnalysis/bda_tests_support_empty_eol
Make tests support empty SPDLOG_EOL
6 years ago
Mario Emmenlauer 87acec6a91 Make tests support empty SPDLOG_EOL with new helper method require_message_count() 6 years ago
Mario Emmenlauer 58a5e654f9 tests/utils.cpp: Use binary mode for reading test results, to preserve EOL 6 years ago
gabime 601bdfb1b4 Minor cleanup 6 years ago
gabime 90454a93b2 Update test_eventlog.cpp 6 years ago
Gabi Melman fccee959b1
Merge pull request #1418 from ban-dana/v1.x
Add eventlog_sink for logging to Windows Event Log (local only)
6 years ago
bandana2004 4bece787c8 Refactor Event Log sink 6 years ago
Michael R. Crusoe a8d6e60ec6
Enable running the tests against an installed copy of spdlog 6 years ago
tt4g eb234bbf91 Don't run spdlog-utests and spdlog-utests-ho in parallel
spdlog-utests and spdlog-utests-ho use the same log output directory, so some tests will randomly fail when run in parallel.
6 years ago
bandana2004 db1a221427 Add eventlog_sink for logging to Windows Event Log (local only). 6 years ago
Mario Emmenlauer 622f5eb967 tests/utils.h: removed duplicate entry for count_lines() 6 years ago
gabime 284e6a80ac Fixed cfg tests 6 years ago
gabime 877eee408e renamed loaders with cfg 6 years ago
Gabi Melman 2544fca519
Update test_loaders.cpp 6 years ago
Gabi Melman 0b55e2c332
Update test_loaders.cpp 6 years ago
gabime b105046202 Fixed loaders tests 6 years ago
gabime de20255c71 wip 6 years ago
gabime 1a1c37db7c wip 6 years ago
gabime a87700a28c wip 6 years ago
gabime 1f8e9ad0fc renamed cfg namespace to loaders 6 years ago
gabime e13e978af4 added loaders tests 6 years ago
gabime 28e334c728 Fixed tests 6 years ago
gabime 3a61dcd360 Aceept also 'warn' string in level::from_str() 6 years ago
gabime d25fb08a75 clang-format 6 years ago
gabime cee35f7d24 Added truncate flag (issue #1297) 6 years ago
gabime 436ce16e79 Updated meson tests build 6 years ago
gabime a13b0abb7d Simplify meson for tests 6 years ago
gabime 21f7f78130 Update tests CMakeLists.txt 6 years ago
gabime bb1b24c178 Fixed #1295 6 years ago
gabime 10116b7717 Removed SPDLOG_NO_DATETIME option 6 years ago
gabime 18edb8bd63 Added tweakme options to CMakeLists.txt 6 years ago
gabime e3699070a4 clang-format 6 years ago
gabime cae6c9ab36 Removed lazy argument evaluation from macros 6 years ago
Paul Kunysch eb4a169cfb Improve log macros 6 years ago
gabime 2b8afb38b7 Revert pull #1288 6 years ago
David Yip 288ea11534 Use _FILE_OFFSET_BITS=64 when building tests on Linux 32-bit systems
When cross-compiling spdlog from x86-64 to armhf, I ran spdlog-utests
via qemu-arm and noticed that the "daily_logger rotate" test was failing
because count_files always returned zero.

Investigation of count_files revealed that readdir was returning nullptr
immediately and setting errno to 75, i.e. "value too large for defined
data type".  I suspected this had something to do with some 64 vs.
32-bit thing, so I added _FILE_OFFSET_BITS=64 to the build and that
seems to have made readdir happy.

It might be safe to add _FILE_OFFSET_BITS=64 for all Linux builds, but
it only seems to be necessary for the 32-bit case (which is a pretty
small audience these days -- I'm only building for armhf to target a
Raspberry Pi 3 running Raspbian, which runs in 32-bit mode).
6 years ago
gabime 4a620a2c5e Merge branch 'Issue-1248' into v1.x 6 years ago
gabime 594d226056 update tests 6 years ago
gabime c19e325b83 Added some tests for create_dir 6 years ago
gabime 88335bd92e clang-format 6 years ago
gabime dbe5c17a96 Renamed file_exists()->path_exists() 6 years ago
gabime c40555c0ac clang-format 6 years ago
gabime bfc76278a9 update tests 6 years ago
gabime a1f283946e updated os::dir_name and tests 6 years ago
gabime 066087b383 Update create_dir 6 years ago