Add support for cc_perftests and other non-telemetry gtest based tests.
commit9b700e91514b53e78aae3de7de730e6f31770df4
authorsimonhatch <simonhatch@chromium.org>
Wed, 25 Feb 2015 20:50:33 +0000 (25 12:50 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 25 Feb 2015 21:00:10 +0000 (25 21:00 +0000)
treeb9c2af3d97df1a581f533f5e5a63e45c81cd728d
parent76741807d75d891fdadf1a7d4635be7ee35c13f7
Add support for cc_perftests and other non-telemetry gtest based tests.

This adds a src-side script for running non-telemetry based performance tests.

Will be followed by: https://codereview.chromium.org/873403002/

Example chromium.perf.json:

{
  "Linux Perf (1)": {
    "scripts": [
      {
        "name": "media_perftests",
        "script": "perf_gtests.py",
        "args": ["media_perftests", "--single-process-tests"]
      },
      {
        "name": "load_library_perf_tests",
        "script": "perf_gtests.py",
        "args": ["load_library_perf_tests", "--single-process-tests"]
      }
    ]
  },
  "Android Nexus7v2 Perf": {
    "scripts": [
      {
        "name": "media_perftests",
        "script": "perf_gtests.py",
        "args": ["media_perftests"]
      }
    ]
  }
}

BUG=392620

Review URL: https://codereview.chromium.org/890653002

Cr-Commit-Position: refs/heads/master@{#318109}
testing/buildbot/chromium.perf.json [new file with mode: 0644]
testing/scripts/common.py
testing/scripts/gtest_perf_test.py [new file with mode: 0755]