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

Unified Diff: gpu/angle_end2end_tests_main.cc

Issue 1209243004: Support disabling unit test batching. Use it for angle_end2end_tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 | « base/test/launcher/unit_test_launcher.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/angle_end2end_tests_main.cc
diff --git a/gpu/angle_end2end_tests_main.cc b/gpu/angle_end2end_tests_main.cc
index 008868c2b6ef16fe4cc7c2eea3cf3f7f96532f76..272cf29d880109f5e70d770f7ca6af4af9843db2 100644
--- a/gpu/angle_end2end_tests_main.cc
+++ b/gpu/angle_end2end_tests_main.cc
@@ -26,9 +26,12 @@ int main(int argc, char** argv) {
testing::InitGoogleMock(&argc, argv);
testing::AddGlobalTestEnvironment(new ANGLETestEnvironment());
base::TestSuite test_suite(argc, argv);
- int rt = base::LaunchUnitTestsSerially(
+ int rt = base::LaunchUnitTestsWithOptions(
argc,
argv,
+ 1, // Run tests serially.
+ 0, // Disable batching.
+ true, // Use job objects.
base::Bind(&RunHelper, base::Unretained(&test_suite)));
return rt;
}
« no previous file with comments | « base/test/launcher/unit_test_launcher.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698