Peter Qiu | 5dd242d | 2014-10-14 12:23:21 -0700 | [diff] [blame] | 1 | // Copyright 2014 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 | |
| 5 | #include <base/at_exit.h> |
| 6 | #include <base/command_line.h> |
| 7 | #include <chromeos/syslog_logging.h> |
| 8 | #include <gtest/gtest.h> |
| 9 | |
| 10 | int main(int argc, char** argv) { |
| 11 | base::AtExitManager exit_manager; |
Alex Vakulenko | 7f267ab | 2015-04-02 14:31:10 -0700 | [diff] [blame^] | 12 | base::CommandLine::Init(argc, argv); |
Peter Qiu | 5dd242d | 2014-10-14 12:23:21 -0700 | [diff] [blame] | 13 | chromeos::InitLog(chromeos::kLogToStderr); |
| 14 | ::testing::InitGoogleTest(&argc, argv); |
| 15 | return RUN_ALL_TESTS(); |
| 16 | } |