Update V8 to version 4.6.55.
[chromium-blink-merge.git] / gpu / angle_deqp_tests_main.cc
blob9814d70e27cff12e98ffd464b3fefccd64786c70
1 // Copyright 2015 The Chromium 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.
5 #include "base/at_exit.h"
6 #include "base/bind.h"
7 #include "base/command_line.h"
8 #include "base/message_loop/message_loop.h"
9 #include "base/test/launcher/unit_test_launcher.h"
10 #include "base/test/test_suite.h"
11 #include "testing/gtest/include/gtest/gtest.h"
13 namespace {
15 int RunHelper(base::TestSuite* test_suite) {
16 base::MessageLoop message_loop;
17 return test_suite->Run();
20 } // namespace
22 int main(int argc, char** argv) {
23 base::CommandLine::Init(argc, argv);
24 base::TestSuite test_suite(argc, argv);
25 int rt = base::LaunchUnitTestsSerially(
26 argc,
27 argv,
28 base::Bind(&RunHelper, base::Unretained(&test_suite)));
29 return rt;