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. 4 5#include <algorithm> 6 7#include "base/sys_info.h" 8#include "extensions/shell/test/shell_test_launcher_delegate.h" 9#include "testing/gtest/include/gtest/gtest.h" 10 11int 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); 15} 16