Index: mojo/application/public/cpp/lib/application_test_main.cc |
diff --git a/mojo/application/public/cpp/lib/application_test_main.cc b/mojo/application/public/cpp/lib/application_test_main.cc |
index 9b0aa6b8f4b4e75d46b503fcb32eb23b03257758..5d208c3397fa24d6f16ccb244341ae39a00ef4a2 100644 |
--- a/mojo/application/public/cpp/lib/application_test_main.cc |
+++ b/mojo/application/public/cpp/lib/application_test_main.cc |
@@ -7,6 +7,7 @@ |
#include "base/test/test_timeouts.h" |
#include "mojo/application/public/cpp/application_runner.h" |
#include "mojo/application/public/cpp/application_test_base.h" |
+#include "mojo/logging/init_logging.h" |
#include "mojo/public/c/system/main.h" |
MojoResult MojoMain(MojoHandle handle) { |
@@ -15,7 +16,8 @@ MojoResult MojoMain(MojoHandle handle) { |
// Initialize the current process Commandline and test timeouts. |
mojo::ApplicationRunner::InitBaseCommandLine(); |
+ mojo::logging::InitLogging(); |
TestTimeouts::Initialize(); |
return mojo::test::RunAllTests(handle); |
-} |
+} |