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..450da319363dd29c13afa557b3b57729827d8971 |
--- /dev/null |
+++ b/apps/test/apps_tests_main.cc |
@@ -0,0 +1,17 @@ |
+// 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. |
+ |
+// TODO(yoz): fold into ? |
James Cook
2014/03/20 00:00:35
?
Yoyo Zhou
2014/03/20 21:17:30
deleted
|
+ |
+#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); |
+} |