blob: ca14d192fbb908df7f58558a13fc9d539393c7e4 [file] [log] [blame]
Paul Stewart75897df2011-04-27 09:05:53 -07001// Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
Chris Masone0e1d1042011-05-09 18:07:03 -07005#include <base/at_exit.h>
Darin Petkov35694152011-08-17 16:55:04 -07006#include <base/command_line.h>
7#include <chromeos/syslog_logging.h>
Paul Stewart75897df2011-04-27 09:05:53 -07008#include <gtest/gtest.h>
Paul Stewart75897df2011-04-27 09:05:53 -07009
10int main(int argc, char** argv) {
Chris Masone0e1d1042011-05-09 18:07:03 -070011 base::AtExitManager exit_manager;
Darin Petkov35694152011-08-17 16:55:04 -070012 CommandLine::Init(argc, argv);
13 chromeos::InitLog(chromeos::kLogToStderr);
Paul Stewart75897df2011-04-27 09:05:53 -070014 ::testing::InitGoogleTest(&argc, argv);
Paul Stewart75897df2011-04-27 09:05:53 -070015 return RUN_ALL_TESTS();
16}