diff options
author | Ken Mixter <kmixter@google.com> | 2011-03-02 12:53:06 -0800 |
---|---|---|
committer | Ken Mixter <kmixter@google.com> | 2011-03-02 12:53:06 -0800 |
commit | 61e719072d7afa18ecd4b29278ed19ea36b12737 (patch) | |
tree | 1d4699b71bca90dd0844419da8f6b0f2cca7cd0d /testrunner.cc | |
parent | f7cb327eb8d7dc59d9529f8699b8e528a8903be4 (diff) | |
download | platform_external_libbrillo-61e719072d7afa18ecd4b29278ed19ea36b12737.tar.gz platform_external_libbrillo-61e719072d7afa18ecd4b29278ed19ea36b12737.tar.bz2 platform_external_libbrillo-61e719072d7afa18ecd4b29278ed19ea36b12737.zip |
libchromeos: revert add process control library, syslog logging capability, and run unit tests
This reverts commit f7cb327eb8d7dc59d9529f8699b8e528a8903be4.
BUG=
TEST=
Review URL: http://codereview.chromium.org/6602095
Change-Id: I5786d8898104c3f43165da0cef9c41273db68f6f
Diffstat (limited to 'testrunner.cc')
-rw-r--r-- | testrunner.cc | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/testrunner.cc b/testrunner.cc index e4daaea..a8c4626 100644 --- a/testrunner.cc +++ b/testrunner.cc @@ -4,12 +4,20 @@ // based on pam_google_testrunner.cc -#include <chromeos/test_helpers.h> #include <gtest/gtest.h> #include <glib-object.h> +#include <base/logging.h> -int main(int argc, char** argv) { +int main(int argc, char **argv) { ::g_type_init(); - SetUpTests(&argc, argv, true); + +#if 0 + // Initializing with a name does not seem to be changing the log file name. + // And options for logging to stderr are being ignored. If we don't initialize + // logging goes to stderr by default. + google::InitGoogleLogging("power_unittest"); +#endif + + ::testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); } |