diff options
| author | Stefan Boberg <[email protected]> | 2023-06-30 11:07:10 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2023-06-30 11:07:10 +0200 |
| commit | 0396f400a97f71bf743d584acc71a0cdbc155566 (patch) | |
| tree | 829f7764157aecf9c198e4b076e5fb1adcfeb13f /src/zencore/testing.cpp | |
| parent | various zenhttp fixes from sb/proto (diff) | |
| download | zen-0396f400a97f71bf743d584acc71a0cdbc155566.tar.xz zen-0396f400a97f71bf743d584acc71a0cdbc155566.zip | |
* Added Guid::FromString
* Added LoadCompactBinaryObject from file to compactbinaryfile.cpp/h
* Added SaveCompactBinary(BinaryWriter& Ar, ...) functions
* Added ZEN_PLATFORM_NAME define
* Added SystemMetrics functionality to query system properties (see zencore/system.h)
Diffstat (limited to 'src/zencore/testing.cpp')
| -rw-r--r-- | src/zencore/testing.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/zencore/testing.cpp b/src/zencore/testing.cpp index 5531aa738..6e1f55eda 100644 --- a/src/zencore/testing.cpp +++ b/src/zencore/testing.cpp @@ -34,6 +34,10 @@ TestRunner::ApplyCommandLine(int argc, char const* const* argv) { spdlog::set_level(spdlog::level::debug); } + else if (argv[i] == "--verbose"sv) + { + spdlog::set_level(spdlog::level::trace); + } } return 0; @@ -42,11 +46,9 @@ TestRunner::ApplyCommandLine(int argc, char const* const* argv) int TestRunner::Run() { - int Rv = m_Impl->Session.run(); - - return Rv; + return m_Impl->Session.run(); } } // namespace zen::testing -#endif +#endif // ZEN_WITH_TESTS |