Lines Matching refs:api
25 def RunSteps(api): argument
26 api.vars.setup()
27 checkout_root = api.checkout.default_checkout_root
28 out_dir = api.vars.swarming_out_dir
29 api.checkout.bot_update(checkout_root=checkout_root)
32 api.file.ensure_directory('mkdirs out_dir', out_dir, mode=0777)
38 if 'asmjs' in api.vars.builder_name:
42 base_dir = api.vars.build_dir
44 if 'asmjs' in api.vars.builder_name:
47 if 'Debug' in api.vars.builder_name:
52 api.python.inline(
101 if 'asmjs' in api.vars.builder_name:
106 '--builder', api.vars.builder_name,
107 '--git_hash', api.properties['revision'],
108 '--buildbucket_build_id', api.properties.get('buildbucket_build_id',
110 '--bot_id', api.vars.swarming_bot_id,
111 '--task_id', api.vars.swarming_task_id,
113 '--config', api.vars.configuration,
117 if 'asmjs' in api.vars.builder_name:
120 if api.vars.is_trybot:
122 '--issue', api.vars.issue,
123 '--patchset', api.vars.patchset,
128 with api.env(env):
129 api.run(
130 api.step,
135 def GenTests(api): argument
137 api.test('Test-Debian9-EMCC-GCE-CPU-AVX2-wasm-Debug-All-PathKit') +
138 api.properties(buildername=('Test-Debian9-EMCC-GCE-CPU-AVX2'
147 api.test('Test-Debian9-EMCC-GCE-CPU-AVX2-asmjs-Debug-All-PathKit') +
148 api.properties(buildername=('Test-Debian9-EMCC-GCE-CPU-AVX2'
157 api.test('Test-Debian9-EMCC-GCE-CPU-AVX2-asmjs-Release-All-PathKit') +
158 api.properties(buildername=('Test-Debian9-EMCC-GCE-CPU-AVX2'
167 api.test('pathkit_trybot') +
168 api.properties(buildername=('Test-Debian9-EMCC-GCE-CPU-AVX2'