| Index: cc/test/run_all_perftests.cc
|
| diff --git a/cc/test/run_all_perftests.cc b/cc/test/run_all_perftests.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..abe854986dde7b97a82b843eea3cd1bc8b4e03eb
|
| --- /dev/null
|
| +++ b/cc/test/run_all_perftests.cc
|
| @@ -0,0 +1,16 @@
|
| +// Copyright 2013 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.
|
| +
|
| +#include "cc/test/cc_test_suite.h"
|
| +#include "testing/gmock/include/gmock/gmock.h"
|
| +
|
| +int main(int argc, char** argv) {
|
| + ::testing::InitGoogleMock(&argc, argv);
|
| + cc::CCTestSuite test_suite(argc, argv);
|
| +
|
| + // Always run the perf tests serially, to avoid distorting
|
| + // perf measurements with randomness resulting from running
|
| + // in parallel.
|
| + return test_suite.Run();
|
| +}
|
|
|