Index: recipe_modules/infra_paths/example.py |
diff --git a/recipe_modules/infra_paths/example.py b/recipe_modules/infra_paths/example.py |
new file mode 100644 |
index 0000000000000000000000000000000000000000..203c70535e84fa660c7e82bf26e582633b96031a |
--- /dev/null |
+++ b/recipe_modules/infra_paths/example.py |
@@ -0,0 +1,25 @@ |
+# Copyright 2016 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 = [ |
+ 'infra_paths', |
+ 'recipe_engine/platform', |
+ 'recipe_engine/properties', |
+] |
+ |
+ |
+def RunSteps(api): |
+ return |
martiniss
2016/04/28 23:15:23
maybe add an actual example here? Like echo the sl
Paweł Hajdan Jr.
2016/04/29 09:34:48
Done. FWIW, not sure how useful it is: repr() just
|
+ |
+ |
+def GenTests(api): |
+ yield api.test('basic') |
+ |
+ for platform in ('linux', 'mac', 'win'): |
+ for path_config in ('buildbot', 'kitchen'): |
+ yield ( |
+ api.test('paths_%s_%s' % (path_config, platform)) + |
+ api.platform.name(platform) + |
+ api.properties(path_config=path_config) |
+ ) |