aboutsummaryrefslogtreecommitdiff
path: root/engines/testbed
diff options
context:
space:
mode:
Diffstat (limited to 'engines/testbed')
-rw-r--r--engines/testbed/testbed.cpp3
-rw-r--r--engines/testbed/testsuite.cpp2
2 files changed, 5 insertions, 0 deletions
diff --git a/engines/testbed/testbed.cpp b/engines/testbed/testbed.cpp
index c7c2fd219d..bdf8badaa5 100644
--- a/engines/testbed/testbed.cpp
+++ b/engines/testbed/testbed.cpp
@@ -107,6 +107,9 @@ Common::Error TestbedEngine::run() {
TestbedConfigManager cfMan(_testsuiteList, "testbed.config");
cfMan.selectTestsuites();
+
+ // Init logging
+ Testsuite::initLogging(true);
// check if user wanted to exit.
if (Engine::shouldQuit()) {
diff --git a/engines/testbed/testsuite.cpp b/engines/testbed/testsuite.cpp
index 4428169dd1..ea7d9c717a 100644
--- a/engines/testbed/testsuite.cpp
+++ b/engines/testbed/testsuite.cpp
@@ -93,6 +93,7 @@ void Testsuite::logPrintf(const char *fmt, ...) {
if (_ws) {
_ws->writeString(buffer);
+ debugCN(kTestbedLogOutput, "%s", buffer);
} else {
debugCN(kTestbedLogOutput, "%s", buffer);
}
@@ -109,6 +110,7 @@ void Testsuite::logDetailedPrintf(const char *fmt, ...) {
if (_ws) {
_ws->writeString(buffer);
+ debugCN(1, kTestbedLogOutput, "%s", buffer);
} else {
debugCN(1, kTestbedLogOutput, "%s", buffer);
}