run_all_perftests.cc 497 B

1234567891011121314
  1. // Copyright 2019 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #include "base/bind.h"
  5. #include "base/test/launcher/unit_test_launcher.h"
  6. #include "base/test/perf_test_suite.h"
  7. int main(int argc, char** argv) {
  8. base::PerfTestSuite test_suite(argc, argv);
  9. return base::LaunchUnitTestsSerially(
  10. argc, argv,
  11. base::BindOnce(&base::TestSuite::Run, base::Unretained(&test_suite)));
  12. }