diff options
Diffstat (limited to 'testrunner.cc')
-rw-r--r-- | testrunner.cc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testrunner.cc b/testrunner.cc new file mode 100644 index 0000000..51bace0 --- /dev/null +++ b/testrunner.cc @@ -0,0 +1,16 @@ +// 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 <chromeos/syslog_logging.h> +#include <gtest/gtest.h> + +int main(int argc, char** argv) { + base::AtExitManager exit_manager; + base::CommandLine::Init(argc, argv); + chromeos::InitLog(chromeos::kLogToStderr); + ::testing::InitGoogleTest(&argc, argv); + return RUN_ALL_TESTS(); +} |