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

Unified Diff: content/test/run_all_perftests.cc

Issue 128593002: GTTF: Run perf tests serially (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 2014 Created 6 years, 11 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 | « cc/test/run_all_perftests.cc ('k') | media/base/run_all_perftests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/run_all_perftests.cc
diff --git a/content/test/run_all_perftests.cc b/content/test/run_all_perftests.cc
index d3d1d3a6e871cdceec425e7afd9daa2d07481427..77aa196cd6d56d35fff8e41a405f885b5cb7f96f 100644
--- a/content/test/run_all_perftests.cc
+++ b/content/test/run_all_perftests.cc
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "base/bind.h"
+#include "base/test/launcher/unit_test_launcher.h"
#include "content/public/test/unittest_test_suite.h"
#include "content/test/content_test_suite.h"
@@ -12,5 +14,7 @@ int main(int argc, char** argv) {
// Always run the perf tests serially, to avoid distorting
// perf measurements with randomness resulting from running
// in parallel.
- return test_suite.Run();
+ return base::LaunchUnitTestsSerially(
+ argc, argv, base::Bind(&content::UnitTestTestSuite::Run,
+ base::Unretained(&test_suite)));
}
« no previous file with comments | « cc/test/run_all_perftests.cc ('k') | media/base/run_all_perftests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698