aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Eric Boren <borenet@google.com>2018-04-24 14:48:19 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-04-24 19:14:16 +0000
commitfb20ac4578582f31b807d3c27be46b0102c048cc (patch)
treeb6072503302e44745cd5c9415132c6dfe0c7f349
parent6736236fafb93080cc8954c0016c05afcf9824a0 (diff)
[infra] internal_hardware_label is a string now
Thanks, Python. Bug: skia:7050 Change-Id: I71434effc5da31967190e2eb06bbba2010061e80 Reviewed-on: https://skia-review.googlesource.com/123502 Reviewed-by: Eric Boren <borenet@google.com> Commit-Queue: Eric Boren <borenet@google.com>
-rw-r--r--infra/bots/recipes/test.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/infra/bots/recipes/test.py b/infra/bots/recipes/test.py
index d276753833..a3a7247fbc 100644
--- a/infra/bots/recipes/test.py
+++ b/infra/bots/recipes/test.py
@@ -394,7 +394,7 @@ def dm_flags(api, bot):
# Android and iOS. skia:5438
blacklist('_ test _ GrShape')
- if api.vars.internal_hardware_label == 1:
+ if api.vars.internal_hardware_label == '1':
# skia:7046
blacklist('_ test _ WritePixelsNonTexture_Gpu')
blacklist('_ test _ WritePixelsNonTextureMSAA_Gpu')
@@ -403,7 +403,7 @@ def dm_flags(api, bot):
blacklist('_ test _ GrSurfaceRenderability')
blacklist('_ test _ ES2BlendWithNoTexture')
- if api.vars.internal_hardware_label == 2:
+ if api.vars.internal_hardware_label == '2':
# skia:7160
blacklist('_ test _ SRGBReadWritePixels')
blacklist('_ test _ SRGBMipMap')
@@ -747,7 +747,7 @@ def dm_flags(api, bot):
# skia:7603
match.append('~^GrMeshTest$')
- if api.vars.internal_hardware_label == 1:
+ if api.vars.internal_hardware_label == '1':
match.append('~skbug6653') # skia:6653
if blacklisted:
@@ -1181,7 +1181,7 @@ def GenTests(api):
revision='abc123',
path_config='kitchen',
swarm_out_dir='[SWARM_OUT_DIR]',
- internal_hardware_label=1) +
+ internal_hardware_label='1') +
api.path.exists(
api.path['start_dir'].join('skia'),
api.path['start_dir'].join('skia', 'infra', 'bots', 'assets',
@@ -1201,7 +1201,7 @@ def GenTests(api):
revision='abc123',
path_config='kitchen',
swarm_out_dir='[SWARM_OUT_DIR]',
- internal_hardware_label=2) +
+ internal_hardware_label='2') +
api.path.exists(
api.path['start_dir'].join('skia'),
api.path['start_dir'].join('skia', 'infra', 'bots', 'assets',