Home | History | Annotate | Download | only in test
      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 "apps/shell/test/shell_test_launcher_delegate.h"
      8 #include "base/sys_info.h"
      9 #include "testing/gtest/include/gtest/gtest.h"
     10 
     11 int main(int argc, char** argv) {
     12   int default_jobs = std::max(1, base::SysInfo::NumberOfProcessors() / 2);
     13   apps::AppShellTestLauncherDelegate launcher_delegate;
     14   return content::LaunchTests(&launcher_delegate, default_jobs, argc, argv);
     15 }
     16