Get libbase tests working on Windows.
Tests using files from /proc still fail on Windows (obviously), but
all tests are passing when run in Wine.
Change-Id: Ie4c3ba65b642202f8fcaec73332a53bee6115fba
diff --git a/base/test_main.cpp b/base/test_main.cpp
index 546923d..c362b6c 100644
--- a/base/test_main.cpp
+++ b/base/test_main.cpp
@@ -20,6 +20,11 @@
int main(int argc, char** argv) {
::testing::InitGoogleTest(&argc, argv);
+
+ // No logging on Windows yet.
+#if !defined(_WIN32)
android::base::InitLogging(argv, android::base::StderrLogger);
+#endif
+
return RUN_ALL_TESTS();
}