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.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/zencore/testing.cpp b/src/zencore/testing.cpp
index 67285dcf1..20a53bff3 100644
--- a/src/zencore/testing.cpp
+++ b/src/zencore/testing.cpp
@@ -279,6 +279,10 @@ TestRunner::ApplyCommandLine(int Argc, char const* const* Argv, const char* Defa
m_Impl->Session.applyCommandLine(Argc, Argv);
+ // Tests default to Info so that common runs aren't buried in debug/trace output.
+ // Use --debug or --verbose to opt back in when investigating a failure.
+ zen::logging::SetLogLevel(zen::logging::Info);
+
for (int i = 1; i < Argc; ++i)
{
if (Argv[i] == "--debug"sv)