| Index: apps/test/apps_tests_main.cc
|
| diff --git a/apps/test/apps_tests_main.cc b/apps/test/apps_tests_main.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..080841e7aac5d31e1d114909d989640a185231ef
|
| --- /dev/null
|
| +++ b/apps/test/apps_tests_main.cc
|
| @@ -0,0 +1,15 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include <algorithm>
|
| +
|
| +#include "apps/test/apps_test_launcher_delegate.h"
|
| +#include "base/sys_info.h"
|
| +#include "testing/gtest/include/gtest/gtest.h"
|
| +
|
| +int main(int argc, char** argv) {
|
| + int default_jobs = std::max(1, base::SysInfo::NumberOfProcessors() / 2);
|
| + apps::AppsTestLauncherDelegate launcher_delegate;
|
| + return content::LaunchTests(&launcher_delegate, default_jobs, argc, argv);
|
| +}
|
|
|