1 # Copyright 2016 The Chromium Authors. All rights reserved. 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 5 6 # Recipe module for Skia Swarming test. 7 8 9 DEPS = [ 10 'recipe_engine/path', 11 'recipe_engine/platform', 12 'recipe_engine/properties', 13 'recipe_engine/raw_io', 14 'sktest', 15 ] 16 17 18 def RunSteps(api): 19 api.sktest.run() 20 21 22 def GenTests(api): 23 yield ( 24 api.test('Test-Ubuntu-GCC-GCE-CPU-AVX2-x86-Debug') + 25 api.properties(buildername='Test-Ubuntu-GCC-GCE-CPU-AVX2-x86-Debug', 26 mastername='fake-master', 27 slavename='fake-slave', 28 buildnumber=5, 29 revision='abc123', 30 path_config='kitchen', 31 swarm_out_dir='[SWARM_OUT_DIR]') + 32 api.path.exists( 33 api.path['start_dir'].join('skia'), 34 api.path['start_dir'].join('skia', 'infra', 'bots', 'assets', 35 'skimage', 'VERSION'), 36 api.path['start_dir'].join('skia', 'infra', 'bots', 'assets', 37 'skp', 'VERSION'), 38 api.path['start_dir'].join('skia', 'infra', 'bots', 'assets', 39 'svg', 'VERSION'), 40 api.path['start_dir'].join('tmp', 'uninteresting_hashes.txt') 41 ) 42 ) 43