| Index: infra/recipe_modules/hacky_tryserver_detection/example.py
|
| diff --git a/infra/recipe_modules/hacky_tryserver_detection/example.py b/infra/recipe_modules/hacky_tryserver_detection/example.py
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2187add0b08fba47f3c803b7d0070d2cc2fc464e
|
| --- /dev/null
|
| +++ b/infra/recipe_modules/hacky_tryserver_detection/example.py
|
| @@ -0,0 +1,17 @@
|
| +# Copyright 2014 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 = [
|
| + 'recipe_engine/step',
|
| + 'hacky_tryserver_detection',
|
| +]
|
| +
|
| +
|
| +def RunSteps(api):
|
| + api.step(
|
| + "am i a tryserver?", ['echo', api.hacky_tryserver_detection.is_tryserver])
|
| +
|
| +
|
| +def GenTests(api):
|
| + yield api.test('basic')
|
|
|