Lines Matching refs:api
26 def RunSteps(api):
28 api.vars.setup()
29 checkout_root = api.checkout.default_checkout_root
30 api.checkout.bot_update(checkout_root=checkout_root)
31 api.file.ensure_directory('makedirs tmp_dir', api.vars.tmp_dir)
33 cwd = api.path['checkout']
35 with api.context(cwd=cwd):
38 diff1 = api.run(
39 api.step,
42 stdout=api.m.raw_io.output()).stdout.decode('utf-8')
44 with api.context(env=api.infra.go_env):
45 api.step('generate gl interfaces',
49 api.build(checkout_root=checkout_root,
50 out_dir=api.vars.build_dir.join('out', 'Release'))
54 diff2 = api.run(
55 api.step,
58 stdout=api.m.raw_io.output()).stdout.decode('utf-8')
60 api.run(
61 api.python.inline,
74 def GenTests(api):
76 api.test('Housekeeper-PerCommit-CheckGeneratedFiles') +
77 api.properties(buildername='Housekeeper-PerCommit-CheckGeneratedFiles',
82 api.path.exists(api.path['start_dir'])