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

Unified Diff: base/test/launcher/unit_test_launcher.cc

Issue 1208603002: content: implement unittests backend for Ozone GBM Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: force single process Created 5 years, 1 month 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 | « no previous file | content/test/content_test_suite.h » ('j') | ui/ozone/public/ozone_gpu_test_helper.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/launcher/unit_test_launcher.cc
diff --git a/base/test/launcher/unit_test_launcher.cc b/base/test/launcher/unit_test_launcher.cc
index 9cd7d7127105ca900e33293f40ec0e9c86c7d9f9..b265f7e6e16c0b79a9c7b93fe9717ca6788095ed 100644
--- a/base/test/launcher/unit_test_launcher.cc
+++ b/base/test/launcher/unit_test_launcher.cc
@@ -191,6 +191,12 @@ int LaunchUnitTestsInternal(const RunTestSuiteCallback& run_test_suite,
}
}
+#if defined(USE_OZONE)
+ // It's prohibited multi-processes from taking card0. Only DRM master
+ // can take it. crbug.com/475633
+ force_single_process = true;
spang 2015/12/02 17:00:03 I don't think this is worth losing parallelism ove
dshwang 2015/12/08 01:12:38 I agree. do you have good idea? My idea is - thi
dshwang 2015/12/08 22:19:33 What I really want is that content_unittests and g
dshwang 2015/12/08 23:04:34 Interesting. I assume that we will make test bots
+#endif
+
if (CommandLine::ForCurrentProcess()->HasSwitch(kGTestHelpFlag) ||
CommandLine::ForCurrentProcess()->HasSwitch(kGTestListTestsFlag) ||
CommandLine::ForCurrentProcess()->HasSwitch(kSingleProcessTestsFlag) ||
« no previous file with comments | « no previous file | content/test/content_test_suite.h » ('j') | ui/ozone/public/ozone_gpu_test_helper.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698