root/chrome/test/base/browser_perf_tests_main.cc

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. RunTestSuite
  2. main

// 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 "chrome/test/base/chrome_test_launcher.h"
#include "chrome/test/base/chrome_test_suite.h"

class ChromeBrowserTestSuiteRunner : public ChromeTestSuiteRunner {
 public:
  virtual int RunTestSuite(int argc, char** argv) OVERRIDE {
    return ChromeTestSuite(argc, argv).Run();
  }
};

int main(int argc, char** argv) {
  // Always run browser perf tests serially - parallel running would be less
  // deterministic and distort perf measurements.
  ChromeBrowserTestSuiteRunner runner;
  return LaunchChromeTests(1, &runner, argc, argv);
}

/* [<][>][^][v][top][bottom][index][help] */