/external/skia/infra/bots/recipe_modules/git/examples/ |
full.py | 12 def RunSteps(api): 13 api.step('1', cmd=['git', 'status']) 14 with api.git.env(): 15 api.step('2', cmd=['git', 'status']) 18 def GenTests(api): 19 yield api.test('test')
|
/external/skqp/infra/bots/recipe_modules/git/examples/ |
full.py | 12 def RunSteps(api): 13 api.step('1', cmd=['git', 'status']) 14 with api.git.env(): 15 api.step('2', cmd=['git', 'status']) 18 def GenTests(api): 19 yield api.test('test')
|
/external/skia/infra/bots/recipe_modules/isolate/tests/ |
run_isolated.py | 10 def RunSteps(api): 11 api.isolate.run_isolated('run_isolated', 'isolate_hash', ['some', 'args']) 14 def GenTests(api): 15 yield api.test('basic')
|
clean_isolated_files.py | 11 def RunSteps(api): 12 api.isolate.clean_isolated_files(api.path['checkout'].join('out', 'Release')) 15 def GenTests(api): 16 yield api.test('basic')
|
isolate_tests.py | 11 def RunSteps(api): 12 api.isolate.isolate_tests(api.path['checkout'].join('out', 'Release')) 15 def GenTests(api): 16 yield api.test('basic')
|
isolated_tests.py | 12 def RunSteps(api): 13 api.step('isolated_tests', []) 14 api.step.active_result.presentation.logs['details'] = [ 15 'isolated_tests: %r' % api.isolate.isolated_tests 19 def GenTests(api): 21 api.test('basic') + 22 api.properties(
|
/external/skqp/infra/bots/recipe_modules/isolate/tests/ |
run_isolated.py | 10 def RunSteps(api): 11 api.isolate.run_isolated('run_isolated', 'isolate_hash', ['some', 'args']) 14 def GenTests(api): 15 yield api.test('basic')
|
clean_isolated_files.py | 11 def RunSteps(api): 12 api.isolate.clean_isolated_files(api.path['checkout'].join('out', 'Release')) 15 def GenTests(api): 16 yield api.test('basic')
|
isolate_tests.py | 11 def RunSteps(api): 12 api.isolate.isolate_tests(api.path['checkout'].join('out', 'Release')) 15 def GenTests(api): 16 yield api.test('basic')
|
isolated_tests.py | 12 def RunSteps(api): 13 api.step('isolated_tests', []) 14 api.step.active_result.presentation.logs['details'] = [ 15 'isolated_tests: %r' % api.isolate.isolated_tests 19 def GenTests(api): 21 api.test('basic') + 22 api.properties(
|
/external/skia/infra/bots/recipe_modules/infra/examples/ |
full.py | 22 def RunSteps(api): 23 api.vars.setup() 24 api.infra.update_go_deps() 25 with api.infra.DownloadGitCookies( 26 '/test/gspath', api.path['start_dir'].join('localpath'), api): 28 with api.infra.MetadataFetch(api, 'key', 'file'): 32 def GenTests(api): 34 api.test('infra_tests') [all...] |
/external/skqp/infra/bots/recipe_modules/infra/examples/ |
full.py | 22 def RunSteps(api): 23 api.vars.setup() 24 api.infra.update_go_deps() 25 with api.infra.DownloadGitCookies( 26 '/test/gspath', api.path['start_dir'].join('localpath'), api): 28 with api.infra.MetadataFetch(api, 'key', 'file'): 32 def GenTests(api): 34 api.test('infra_tests') [all...] |
/external/skia/infra/bots/recipe_modules/swarming_client/examples/ |
full.py | 19 def RunSteps(api): 21 api.step('client path', []) 22 api.step.active_result.step_text = api.swarming_client.path 23 api.swarming_client.checkout() 24 #api.swarming_client.checkout('master') 25 api.swarming_client.query_script_version('swarming.py') 26 api.swarming_client.ensure_script_version('swarming.py', (0, 4, 4)) 29 api.swarming_client.query_script_version( 33 assert api.swarming_client.get_script_version('swarming.py') >= (0, 4, 4 [all...] |
/external/skqp/infra/bots/recipe_modules/swarming_client/examples/ |
full.py | 19 def RunSteps(api): 21 api.step('client path', []) 22 api.step.active_result.step_text = api.swarming_client.path 23 api.swarming_client.checkout() 24 #api.swarming_client.checkout('master') 25 api.swarming_client.query_script_version('swarming.py') 26 api.swarming_client.ensure_script_version('swarming.py', (0, 4, 4)) 29 api.swarming_client.query_script_version( 33 assert api.swarming_client.get_script_version('swarming.py') >= (0, 4, 4 [all...] |
/external/skia/infra/bots/recipe_modules/run/examples/ |
full.py | 16 def myfunc(api, i): 17 api.run(api.step, 'run %d' % i, cmd=['echo', str(i)]) 20 def RunSteps(api): 21 api.vars.setup() 23 api.run(api.step, 'fail', cmd=['false']) 24 except api.step.StepFailure: 26 api.run(api.step, 'fail again', cmd=['false'], abort_on_failure=False [all...] |
/external/skqp/infra/bots/recipe_modules/run/examples/ |
full.py | 16 def myfunc(api, i): 17 api.run(api.step, 'run %d' % i, cmd=['echo', str(i)]) 20 def RunSteps(api): 21 api.vars.setup() 23 api.run(api.step, 'fail', cmd=['false']) 24 except api.step.StepFailure: 26 api.run(api.step, 'fail again', cmd=['false'], abort_on_failure=False [all...] |
/external/skia/infra/bots/recipes/ |
check_generated_files.py | 22 def RunSteps(api): 24 api.core.setup() 26 cwd = api.path['checkout'] 28 with api.context(cwd=cwd): 31 diff1 = api.run( 32 api.step, 35 stdout=api.m.raw_io.output()).stdout 38 api.run( 39 api.python.inline, 53 api.flavor.compile('compile_processors' [all...] |
bundle_recipes.py | 18 def RunSteps(api): 19 bundle_dir = api.properties['swarm_out_dir'] + '/recipe_bundle' 20 skia_dir = api.path['start_dir'].join('skia') 21 recipes_py = api.path['start_dir'].join('skia', 'infra', 'bots', 'recipes.py') 22 with api.git.env(): 23 with api.context(cwd=skia_dir): 24 api.step('git init', infra_step=True, 26 api.step('git add', infra_step=True, 28 api.step('git commit', infra_step=True, 30 api.step('Bundle Recipes', infra_step=True [all...] |
skpbench.py | 30 def _run(api, title, *cmd, **kwargs): 31 with api.context(cwd=api.vars.skia_dir): 32 return api.run(api.step, title, cmd=list(cmd), **kwargs) 35 def _adb(api, title, *cmd, **kwargs): 38 return _run(api, title, ADB_BINARY, *cmd, **kwargs) 41 def skpbench_steps(api): 43 app = api.vars.skia_out.join(api.vars.configuration, 'skpbench' [all...] |
/external/skqp/infra/bots/recipes/ |
check_generated_files.py | 22 def RunSteps(api): 24 api.core.setup() 26 cwd = api.path['checkout'] 28 with api.context(cwd=cwd): 31 diff1 = api.run( 32 api.step, 35 stdout=api.m.raw_io.output()).stdout 38 api.run( 39 api.python.inline, 53 api.flavor.compile('compile_processors' [all...] |
bundle_recipes.py | 18 def RunSteps(api): 19 bundle_dir = api.properties['swarm_out_dir'] + '/recipe_bundle' 20 skia_dir = api.path['start_dir'].join('skia') 21 recipes_py = api.path['start_dir'].join('skia', 'infra', 'bots', 'recipes.py') 22 with api.git.env(): 23 with api.context(cwd=skia_dir): 24 api.step('git init', infra_step=True, 26 api.step('git add', infra_step=True, 28 api.step('git commit', infra_step=True, 30 api.step('Bundle Recipes', infra_step=True [all...] |
/external/skia/infra/bots/recipe_modules/env/examples/ |
full.py | 13 def RunSteps(api): 14 api.step('1', cmd=['echo', 'hi']) 15 with api.env({'MYVAR': 'myval'}): 16 api.step('2', cmd=['echo', 'hi']) 19 with api.context(env={'PATH': path}): 20 api.step('3', cmd=['echo', 'hi']) 21 with api.env({'PATH': '%(PATH)s:otherpath'}): 22 api.step('4', cmd=['echo', 'hi']) 25 def GenTests(api): 26 yield api.test('test' [all...] |
/external/skqp/infra/bots/recipe_modules/env/examples/ |
full.py | 13 def RunSteps(api): 14 api.step('1', cmd=['echo', 'hi']) 15 with api.env({'MYVAR': 'myval'}): 16 api.step('2', cmd=['echo', 'hi']) 19 with api.context(env={'PATH': path}): 20 api.step('3', cmd=['echo', 'hi']) 21 with api.env({'PATH': '%(PATH)s:otherpath'}): 22 api.step('4', cmd=['echo', 'hi']) 25 def GenTests(api): 26 yield api.test('test' [all...] |
/external/skia/infra/bots/recipe_modules/ct/examples/ |
full.py | 12 def RunSteps(api): 13 api.ct.download_swarming_skps( 15 api.path['start_dir'].join('skps'), 20 def GenTests(api): 21 yield api.test('test') 23 api.test('failed_gsutil') + 24 api.step_data('gsutil cp', retcode=1)
|
/external/skqp/infra/bots/recipe_modules/ct/examples/ |
full.py | 12 def RunSteps(api): 13 api.ct.download_swarming_skps( 15 api.path['start_dir'].join('skps'), 20 def GenTests(api): 21 yield api.test('test') 23 api.test('failed_gsutil') + 24 api.step_data('gsutil cp', retcode=1)
|