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

Unified Diff: media/base/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 | « content/test/run_all_perftests.cc ('k') | media/media.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/run_all_perftests.cc
diff --git a/media/base/run_all_unittests.cc b/media/base/run_all_perftests.cc
similarity index 86%
copy from media/base/run_all_unittests.cc
copy to media/base/run_all_perftests.cc
index f1a0092814c999f3866cc241cb576e7f53125995..119bef330388dc137e0ddcb3f9e7a7b76d05ed34 100644
--- a/media/base/run_all_unittests.cc
+++ b/media/base/run_all_perftests.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// 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.
@@ -46,7 +46,10 @@ void TestSuiteNoAtExit::Initialize() {
int main(int argc, char** argv) {
TestSuiteNoAtExit test_suite(argc, argv);
- return base::LaunchUnitTests(
+ // Always run the perf tests serially, to avoid distorting
+ // perf measurements with randomness resulting from running
+ // in parallel.
+ return base::LaunchUnitTestsSerially(
argc, argv, base::Bind(&TestSuiteNoAtExit::Run,
base::Unretained(&test_suite)));
}
« no previous file with comments | « content/test/run_all_perftests.cc ('k') | media/media.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698