Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git] / extensions / shell / test / shell_tests_main.cc
blobeb164690e39a9abfbd188ed87db633dd771432aa
1 // Copyright 2014 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 <algorithm>
7 #include "base/sys_info.h"
8 #include "extensions/shell/test/shell_test_launcher_delegate.h"
9 #include "testing/gtest/include/gtest/gtest.h"
11 int main(int argc, char** argv) {
12 int default_jobs = std::max(1, base::SysInfo::NumberOfProcessors() / 2);
13 extensions::AppShellTestLauncherDelegate launcher_delegate;
14 return content::LaunchTests(&launcher_delegate, default_jobs, argc, argv);