Index: src/platform/update_engine/testrunner.cc |
diff --git a/src/platform/update_engine/testrunner.cc b/src/platform/update_engine/testrunner.cc |
index 8931902592866c5581778ed305cc9d959e6d1b92..0a74480d4f39d73035b36c95564d3cc6c5884643 100644 |
--- a/src/platform/update_engine/testrunner.cc |
+++ b/src/platform/update_engine/testrunner.cc |
@@ -4,9 +4,14 @@ |
// based on pam_google_testrunner.cc |
+#include <glib.h> |
#include <gtest/gtest.h> |
+#include "update_engine/subprocess.h" |
+ |
int main(int argc, char **argv) { |
+ g_thread_init(NULL); |
+ chromeos_update_engine::Subprocess::Init(); |
::testing::InitGoogleTest(&argc, argv); |
return RUN_ALL_TESTS(); |
} |