Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1636)

Unified Diff: scripts/slave/recipe_modules/luci_config/example.py

Issue 2064453002: add recipe continuous builders for each repo with recipes (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Fix presubmit Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipe_modules/luci_config/example.py
diff --git a/scripts/slave/recipe_modules/luci_config/example.py b/scripts/slave/recipe_modules/luci_config/example.py
index aff5eb462308fafbfbc3af95e3c445f12c63000c..8341dc94cf51e52c7af636ed16f70efe50fd00a1 100644
--- a/scripts/slave/recipe_modules/luci_config/example.py
+++ b/scripts/slave/recipe_modules/luci_config/example.py
@@ -34,3 +34,18 @@ def GenTests(api):
api.luci_config.get_projects(['build']) +
api.luci_config.get_project_config('build', 'recipes.cfg', 'testcontent')
)
+
+ protobuf_lines = """
+ foo: 1
+ bar: "hi"
+ baz: {
+ the_thing: "hi"
+ }
+ """
+
+ yield (
+ api.test('protobuf') +
+ api.luci_config.get_projects(['build']) +
+ api.luci_config.get_project_config(
+ 'build', 'recipes.cfg', '\n'.join(protobuf_lines))
+ )

Powered by Google App Engine
This is Rietveld 408576698