1 // Copyright 2013 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.
7 #include "base/sys_info.h"
8 #include "chrome/test/base/chrome_test_launcher.h"
9 #include "chrome/test/base/chrome_test_suite.h"
11 class ChromeBrowserTestSuiteRunner
: public ChromeTestSuiteRunner
{
13 int RunTestSuite(int argc
, char** argv
) override
{
14 return ChromeTestSuite(argc
, argv
).Run();
18 int main(int argc
, char** argv
) {
19 int default_jobs
= std::max(1, base::SysInfo::NumberOfProcessors() / 2);
20 ChromeBrowserTestSuiteRunner runner
;
21 return LaunchChromeTests(default_jobs
, &runner
, argc
, argv
);