Paul Stewart | 75897df | 2011-04-27 09:05:53 -0700 | [diff] [blame] | 1 | // 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 Masone | 0e1d104 | 2011-05-09 18:07:03 -0700 | [diff] [blame] | 5 | #include <base/at_exit.h> |
Darin Petkov | 3569415 | 2011-08-17 16:55:04 -0700 | [diff] [blame] | 6 | #include <base/command_line.h> |
| 7 | #include <chromeos/syslog_logging.h> |
Paul Stewart | 75897df | 2011-04-27 09:05:53 -0700 | [diff] [blame] | 8 | #include <gtest/gtest.h> |
Paul Stewart | 75897df | 2011-04-27 09:05:53 -0700 | [diff] [blame] | 9 | |
| 10 | int main(int argc, char** argv) { |
Chris Masone | 0e1d104 | 2011-05-09 18:07:03 -0700 | [diff] [blame] | 11 | base::AtExitManager exit_manager; |
Darin Petkov | 3569415 | 2011-08-17 16:55:04 -0700 | [diff] [blame] | 12 | CommandLine::Init(argc, argv); |
| 13 | chromeos::InitLog(chromeos::kLogToStderr); |
Paul Stewart | 75897df | 2011-04-27 09:05:53 -0700 | [diff] [blame] | 14 | ::testing::InitGoogleTest(&argc, argv); |
Paul Stewart | 75897df | 2011-04-27 09:05:53 -0700 | [diff] [blame] | 15 | return RUN_ALL_TESTS(); |
| 16 | } |