aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/recipes/test.py
diff options
context:
space:
mode:
authorGravatar Ben Wagner <benjaminwagner@google.com>2017-04-30 11:14:51 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-05-01 14:37:29 +0000
commitf835c2216663fd116eae0150e88c7163f5be8dde (patch)
treed95e5ad586e6cf3f0f5be5acab340c2181f835f1 /infra/bots/recipes/test.py
parentbcf612b5d0032f09d58c2ea5671de977130395db (diff)
Add Swarming bot id and task id to recipe expectations.
No-Try: true Change-Id: Idd748bf61ab3d6611b85472de5d3f3a25d4ae9ee Reviewed-on: https://skia-review.googlesource.com/14821 Reviewed-by: Eric Boren <borenet@google.com> Commit-Queue: Ben Wagner <benjaminwagner@google.com>
Diffstat (limited to 'infra/bots/recipes/test.py')
-rw-r--r--infra/bots/recipes/test.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/infra/bots/recipes/test.py b/infra/bots/recipes/test.py
index 9449b01eac..4b74456b66 100644
--- a/infra/bots/recipes/test.py
+++ b/infra/bots/recipes/test.py
@@ -769,7 +769,11 @@ def GenTests(api):
api.path['start_dir'].join('skia', 'infra', 'bots', 'assets',
'svg', 'VERSION'),
api.path['start_dir'].join('tmp', 'uninteresting_hashes.txt')
- )
+ ) +
+ 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'))
)
if 'Win' in builder:
test += api.platform('win', 64)