2014-02-14 23:21:05 +00:00
|
|
|
// Copyright 2014 Google Inc. All rights reserved.
|
|
|
|
//
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file or at
|
|
|
|
// https://developers.google.com/open-source/licenses/bsd
|
2013-09-24 04:17:12 +00:00
|
|
|
|
2014-08-21 22:40:44 +00:00
|
|
|
#include <gtest/gtest.h>
|
|
|
|
|
2014-10-01 22:10:21 +00:00
|
|
|
#include "packager/base/at_exit.h"
|
|
|
|
#include "packager/base/command_line.h"
|
|
|
|
#include "packager/base/logging.h"
|
2013-09-24 04:17:12 +00:00
|
|
|
|
|
|
|
int main(int argc, char **argv) {
|
|
|
|
::testing::InitGoogleTest(&argc, argv);
|
2013-10-11 21:44:55 +00:00
|
|
|
|
|
|
|
// Needed to enable VLOG/DVLOG through --vmodule or --v.
|
2015-07-22 23:40:45 +00:00
|
|
|
base::CommandLine::Init(argc, argv);
|
2013-10-11 21:44:55 +00:00
|
|
|
CHECK(logging::InitLogging(logging::LoggingSettings()));
|
|
|
|
|
2013-09-24 04:17:12 +00:00
|
|
|
base::AtExitManager exit;
|
|
|
|
return RUN_ALL_TESTS();
|
|
|
|
}
|