aboutsummaryrefslogtreecommitdiff
path: root/src/test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test.cpp')
-rw-r--r--src/test.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test.cpp b/src/test.cpp
index 072bda8ef..fa18989e5 100644
--- a/src/test.cpp
+++ b/src/test.cpp
@@ -2177,6 +2177,8 @@ void run_tests()
IWritableNodeDefManager *ndef = createNodeDefManager();
define_some_nodes(idef, ndef);
+ log_set_lev_silence(LMT_ERROR, true);
+
infostream<<"run_tests() started"<<std::endl;
TEST(TestUtilities);
TEST(TestPath);
@@ -2198,6 +2200,8 @@ void run_tests()
dout_con<<"=== END RUNNING UNIT TESTS FOR CONNECTION ==="<<std::endl;
}
+ log_set_lev_silence(LMT_ERROR, false);
+
delete idef;
delete ndef;