Index: recipe_modules/bot_update/example.py |
diff --git a/recipe_modules/bot_update/example.py b/recipe_modules/bot_update/example.py |
index 9e915331e53e19aac19100e97fa439a0168456ef..bb28b4035eced5efa60f3222afcca5232d2ae1d2 100644 |
--- a/recipe_modules/bot_update/example.py |
+++ b/recipe_modules/bot_update/example.py |
@@ -30,6 +30,7 @@ def RunSteps(api): |
oauth2 = api.properties.get('oauth2', False) |
root_solution_revision = api.properties.get('root_solution_revision') |
suffix = api.properties.get('suffix') |
+ no_reset_soft = True if api.properties.get('no_reset_soft') else False |
api.bot_update.ensure_checkout(force=force, |
no_shallow=no_shallow, |
patch=patch, |
@@ -38,7 +39,8 @@ def RunSteps(api): |
refs=refs, patch_oauth2=oauth2, |
clobber=clobber, |
root_solution_revision=root_solution_revision, |
- suffix=suffix) |
+ suffix=suffix, |
+ no_reset_soft=no_reset_soft) |
def GenTests(api): |
@@ -143,6 +145,12 @@ def GenTests(api): |
slavename='somehost', |
root_solution_revision='revision', |
) |
+ yield api.test('no_reset_soft') + api.properties( |
+ mastername='experimental', |
+ buildername='Experimental Builder', |
+ slavename='somehost', |
+ no_reset_soft=1 |
+ ) |
yield api.test('tryjob_v8') + api.properties( |
mastername='tryserver.chromium.linux', |
buildername='linux_rel', |