Commit 99e1ac1d authored by prasadv's avatar prasadv Committed by Commit bot

Add tool/perf/measurements path to check for CQ jobs.

BUG=462581

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

Cr-Commit-Position: refs/heads/master@{#325296}
parent 539f51d6
......@@ -37,6 +37,7 @@ WEBKIT_RUN_TEST_CONFIG_PATH = os.path.join(
BISECT_SCRIPT_DIR = os.path.join(SCRIPT_DIR, 'auto_bisect')
PERF_BENCHMARKS_PATH = 'tools/perf/benchmarks'
PERF_MEASUREMENTS_PATH = 'tools/perf/measurements'
BUILDBOT_BUILDERNAME = 'BUILDBOT_BUILDERNAME'
BENCHMARKS_JSON_FILE = 'benchmarks.json'
......@@ -634,7 +635,8 @@ def _GetAffectedBenchmarkModuleNames():
all_affected_files = _GetModifiedFilesFromPatch()
modified_benchmarks = []
for affected_file in all_affected_files:
if affected_file.startswith(PERF_BENCHMARKS_PATH):
if (affected_file.startswith(PERF_BENCHMARKS_PATH) or
affected_file.startswith(PERF_MEASUREMENTS_PATH)):
benchmark = os.path.basename(os.path.splitext(affected_file)[0])
modified_benchmarks.append(benchmark)
return modified_benchmarks
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment