aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/recipe_modules/builder_name_schema/example.py
blob: 451019fa46743b3aec721201197cd0d656e43541 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright 2017 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.


DEPS = [
  'builder_name_schema',
]


def RunSteps(api):
  name = 'Build-Ubuntu-Clang-x64-Release-Android'
  d = api.builder_name_schema.DictForBuilderName(name)
  got = api.builder_name_schema.MakeBuilderName(**d)
  assert got == name


def GenTests(api):
  yield api.test('test')