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() |