| Index: infra/bots/recipes/swarm_perf.py
|
| diff --git a/infra/bots/recipes/swarm_perf.py b/infra/bots/recipes/swarm_perf.py
|
| index 31d6dbefe8d9f85a82bfb8a741e9a9e673b71c9e..95948aae49330323947a124b2602c77c5441f693 100644
|
| --- a/infra/bots/recipes/swarm_perf.py
|
| +++ b/infra/bots/recipes/swarm_perf.py
|
| @@ -188,6 +188,10 @@ def perf_steps(api):
|
| 'patchset', api.vars.patchset,
|
| 'patch_storage', api.vars.patch_storage,
|
| ])
|
| + if api.vars.no_buildbot:
|
| + properties.extend(['no_buildbot', 'True'])
|
| + properties.extend(['swarming_bot_id', api.vars.swarming_bot_id])
|
| + properties.extend(['swarming_task_id', api.vars.swarming_task_id])
|
|
|
| target = 'nanobench'
|
| args = [
|
| @@ -335,3 +339,31 @@ def GenTests(api):
|
| revision='abc123',
|
| **gerrit_kwargs)
|
| )
|
| +
|
| + yield (
|
| + api.test('nobuildbot') +
|
| + api.properties(buildername=builder,
|
| + mastername='client.skia',
|
| + slavename='skiabot-linux-swarm-000',
|
| + buildnumber=5,
|
| + revision='abc123',
|
| + path_config='kitchen',
|
| + nobuildbot='True',
|
| + swarm_out_dir='[SWARM_OUT_DIR]',
|
| + **gerrit_kwargs) +
|
| + api.path.exists(
|
| + api.path['slave_build'].join('skia'),
|
| + api.path['slave_build'].join('skia', 'infra', 'bots', 'assets',
|
| + 'skimage', 'VERSION'),
|
| + api.path['slave_build'].join('skia', 'infra', 'bots', 'assets',
|
| + 'skp', 'VERSION'),
|
| + api.path['slave_build'].join('skia', 'infra', 'bots', 'assets',
|
| + 'svg', 'VERSION'),
|
| + api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt')
|
| + ) +
|
| + api.platform('win', 64) +
|
| + api.step_data('get swarming bot id',
|
| + stdout=api.raw_io.output('skia-bot-123')) +
|
| + api.step_data('get swarming task id', stdout=api.raw_io.output('123456'))
|
| + )
|
| +
|
|
|