diff options
Diffstat (limited to 'testrunner.cc')
-rw-r--r-- | testrunner.cc | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/testrunner.cc b/testrunner.cc index a8c4626..e4daaea 100644 --- a/testrunner.cc +++ b/testrunner.cc @@ -4,20 +4,12 @@ // 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(); - -#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); + SetUpTests(&argc, argv, true); return RUN_ALL_TESTS(); } |