Adds a blacklist of SKPs to exclude from bench expectations.

BUG=skia:2469
NOTRY=true
NOTREECHECKS=true
R=caryclark@google.com
TBR=caryclark@google.com

Author: bensong@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@14422 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
commit-bot@chromium.org 2014-04-28 20:20:43 +00:00
parent a31eacb22e
commit 8cb46b963a

View File

@ -24,6 +24,10 @@ CONFIGS_TO_INCLUDE = ['simple_viewport_1000x1000',
'simple_viewport_1000x1000_scalar_1.100000_gpu',
]
# List of flaky SKPs that should be excluded.
SKPS_TO_EXCLUDE = ['desk_chalkboard.skp',
]
def compute_ranges(benches):
"""Given a list of bench numbers, calculate the alert range.
@ -57,7 +61,8 @@ def create_expectations_dict(revision_data_points):
bench_dict = {}
for point in revision_data_points:
if (point.time_type or # Not walltime which has time_type ''
not point.config in CONFIGS_TO_INCLUDE):
not point.config in CONFIGS_TO_INCLUDE or
point.bench in SKPS_TO_EXCLUDE):
continue
key = (point.config, point.bench)
if key in bench_dict: