From 0396f400a97f71bf743d584acc71a0cdbc155566 Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Fri, 30 Jun 2023 11:07:10 +0200 Subject: * 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) --- src/zencore/testing.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/zencore/testing.cpp') 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 -- cgit v1.2.3