Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Unified Diff: chrome/test/base/browser_tests_main.cc

Issue 1806353003: Adds option to run browser tests in mash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: format Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/DEPS ('k') | chrome/test/base/mash_browser_tests_main.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/browser_tests_main.cc
diff --git a/chrome/test/base/browser_tests_main.cc b/chrome/test/base/browser_tests_main.cc
index b70df69f8f151765c59999d9af7e3dedfc65b32c..cd12f3bba01b023d1624823ef7418d9221ec896c 100644
--- a/chrome/test/base/browser_tests_main.cc
+++ b/chrome/test/base/browser_tests_main.cc
@@ -8,7 +8,17 @@
#include "chrome/test/base/chrome_test_launcher.h"
#include "chrome/test/base/chrome_test_suite.h"
+#if defined(MOJO_SHELL_CLIENT)
+#include "chrome/test/base/mash_browser_tests_main.h"
+#endif
+
int main(int argc, char** argv) {
+#if defined(MOJO_SHELL_CLIENT)
+ int exit_code = 0;
+ if (RunMashBrowserTests(argc, argv, &exit_code))
+ return exit_code;
+#endif
+
int default_jobs = std::max(1, base::SysInfo::NumberOfProcessors() / 2);
ChromeTestSuiteRunner runner;
ChromeTestLauncherDelegate delegate(&runner);
« no previous file with comments | « chrome/test/DEPS ('k') | chrome/test/base/mash_browser_tests_main.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698