diff options
-rw-r--r-- | infra/bots/recipes/test.py | 10 |
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', |