blob: c9121f507f1bb6c5fd140c07cf13992b0b8951a4 [file] [log] [blame] [edit]
// Copyright 2014 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <base/at_exit.h>
#include <base/command_line.h>
#include <base/logging.h>
#include <chromeos/syslog_logging.h>
#include <gtest/gtest.h>
int main(int argc, char **argv) {
base::CommandLine::Init(argc, argv);
chromeos::InitLog(chromeos::kLogToStderr);
// Enable verbose logging while running unit tests.
logging::SetMinLogLevel(logging::LOG_VERBOSE);
base::AtExitManager exit_manager;
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}