Add support for reading, merging, and querying configs
Change-Id: I04a07cf5e9a6b41213b3101f3e04be350e50b41f
diff --git a/aos/testing/BUILD b/aos/testing/BUILD
index ed410b1..0c214ed 100644
--- a/aos/testing/BUILD
+++ b/aos/testing/BUILD
@@ -8,6 +8,7 @@
deps = [
"//third_party/googletest:gtest",
"@com_github_gflags_gflags//:gflags",
+ "@com_github_google_glog//:glog",
],
)
diff --git a/aos/testing/gtest_main.cc b/aos/testing/gtest_main.cc
index 7acfe5a..c8c5062 100644
--- a/aos/testing/gtest_main.cc
+++ b/aos/testing/gtest_main.cc
@@ -2,6 +2,7 @@
#include <getopt.h>
#include "gflags/gflags.h"
+#include "glog/logging.h"
#include "gtest/gtest.h"
DEFINE_bool(print_logs, false,
@@ -21,6 +22,8 @@
GTEST_API_ int main(int argc, char **argv) {
::testing::InitGoogleTest(&argc, argv);
+ FLAGS_logtostderr = true;
+ google::InitGoogleLogging(argv[0]);
::gflags::ParseCommandLineFlags(&argc, &argv, false);
if (FLAGS_print_logs) {