aboutsummaryrefslogtreecommitdiff
path: root/src/zencore/testing.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zencore/testing.cpp')
-rw-r--r--src/zencore/testing.cpp10
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