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

Unified Diff: recipe_modules/gclient/example.py

Issue 1999603002: example flag CL (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « recipe_modules/gclient/config.py ('k') | recipe_modules/gclient/example.expected/new_flag.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_modules/gclient/example.py
diff --git a/recipe_modules/gclient/example.py b/recipe_modules/gclient/example.py
index 3f6db8966473967521a3c14c198c95b15881a3ed..e7ea08fa3edbd1488183347aad4e488aaf577ee0 100644
--- a/recipe_modules/gclient/example.py
+++ b/recipe_modules/gclient/example.py
@@ -85,6 +85,8 @@ def RunSteps(api):
with_branch_heads=True,
cwd=api.path['slave_build'].join('src', 'third_party'))
+ if api.properties.get('flag'):
+ api.gclient.c.break_locks_flag = True
api.gclient.break_locks()
del api.gclient.spec_alias
@@ -97,6 +99,8 @@ def RunSteps(api):
def GenTests(api):
yield api.test('basic')
+ yield api.test('new_flag') + api.properties(flag=True)
+
yield api.test('revision') + api.properties(revision='abc')
yield api.test('tryserver') + api.properties.tryserver()
« no previous file with comments | « recipe_modules/gclient/config.py ('k') | recipe_modules/gclient/example.expected/new_flag.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698