Index: mojo/runner/shell_test_main.cc |
diff --git a/mojo/runner/shell_test_main.cc b/mojo/runner/shell_test_main.cc |
index a6ec6d1ba80611c121a3f972a205bf226da5fd8c..17ec7d7bcfad8528bbd982d8006b80095ce171b2 100644 |
--- a/mojo/runner/shell_test_main.cc |
+++ b/mojo/runner/shell_test_main.cc |
@@ -11,6 +11,7 @@ |
#include "mojo/runner/child_process.h" |
#include "mojo/runner/switches.h" |
#include "testing/gtest/include/gtest/gtest.h" |
+#include "third_party/mojo/src/mojo/edk/embedder/test_embedder.h" |
int main(int argc, char** argv) { |
base::CommandLine::Init(argc, argv); |
@@ -24,6 +25,9 @@ int main(int argc, char** argv) { |
} |
base::TestSuite test_suite(argc, argv); |
+ |
+ mojo::embedder::test::InitWithSimplePlatformSupport(); |
+ |
return base::LaunchUnitTests( |
argc, argv, |
base::Bind(&base::TestSuite::Run, base::Unretained(&test_suite))); |