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

Unified Diff: recipe_modules/bot_update/example.py

Issue 1686273002: Bot update cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Review Created 4 years, 10 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/bot_update/api.py ('k') | recipe_modules/bot_update/example.expected/basic.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_modules/bot_update/example.py
diff --git a/recipe_modules/bot_update/example.py b/recipe_modules/bot_update/example.py
index d866c0cebd567c875572e02ec0bd5bae83db12be..3e512e774ae00793e3e4778513051b7415c1f783 100644
--- a/recipe_modules/bot_update/example.py
+++ b/recipe_modules/bot_update/example.py
@@ -43,110 +43,57 @@ def RunSteps(api):
def GenTests(api):
yield api.test('basic') + api.properties(
- mastername='chromium.linux',
- buildername='Linux Builder',
- slavename='totallyaslave-m1',
patch=False,
revision='abc'
)
yield api.test('basic_with_branch_heads') + api.properties(
- mastername='chromium.linux',
- buildername='Linux Builder',
- slavename='totallyaslave-m1',
with_branch_heads=True,
suffix='with branch heads'
)
yield api.test('basic_output_manifest') + api.properties(
- mastername='chromium.linux',
- buildername='Linux Builder',
- slavename='totallyaslave-m1',
output_manifest=True,
)
yield api.test('tryjob') + api.properties(
- mastername='tryserver.chromium.linux',
- buildername='linux_rel',
- slavename='totallyaslave-c4',
issue=12345,
patchset=654321,
patch_url='http://src.chromium.org/foo/bar'
)
yield api.test('trychange') + api.properties(
- mastername='tryserver.chromium.linux',
- buildername='linux_rel',
- slavename='totallyaslave-c4',
refs=['+refs/change/1/2/333'],
)
yield api.test('trychange_oauth2') + api.properties(
- mastername='tryserver.chromium.linux',
- buildername='linux_rel',
- slavename='totallyaslave-c4',
oauth2=True,
)
yield api.test('tryjob_fail') + api.properties(
- mastername='tryserver.chromium.linux',
- buildername='linux_rel',
- slavename='totallyaslave-c4',
issue=12345,
patchset=654321,
patch_url='http://src.chromium.org/foo/bar',
) + api.step_data('bot_update', retcode=1)
yield api.test('tryjob_fail_patch') + api.properties(
- mastername='tryserver.chromium.linux',
- buildername='linux_rel',
- slavename='totallyaslave-c4',
issue=12345,
patchset=654321,
patch_url='http://src.chromium.org/foo/bar',
fail_patch='apply',
) + api.step_data('bot_update', retcode=88)
yield api.test('tryjob_fail_patch_download') + api.properties(
- mastername='tryserver.chromium.linux',
- buildername='linux_rel',
- slavename='totallyaslave-c4',
issue=12345,
patchset=654321,
patch_url='http://src.chromium.org/foo/bar',
fail_patch='download'
) + api.step_data('bot_update', retcode=87)
yield api.test('forced') + api.properties(
- mastername='experimental',
- buildername='Experimental Builder',
- slavename='somehost',
force=1
)
yield api.test('no_shallow') + api.properties(
- mastername='experimental',
- buildername='Experimental Builder',
- slavename='somehost',
no_shallow=1
)
- yield api.test('off') + api.properties(
- mastername='experimental',
- buildername='Experimental Builder',
- slavename='somehost',
- )
- yield api.test('svn_mode') + api.properties(
- mastername='experimental.svn',
- buildername='Experimental SVN Builder',
- slavename='somehost',
- force=1
- )
yield api.test('clobber') + api.properties(
- mastername='experimental',
- buildername='Experimental Builder',
- slavename='somehost',
clobber=1
)
yield api.test('reset_root_solution_revision') + api.properties(
- mastername='experimental',
- buildername='Experimental Builder',
- slavename='somehost',
root_solution_revision='revision',
)
yield api.test('tryjob_v8') + api.properties(
- mastername='tryserver.chromium.linux',
- buildername='linux_rel',
- slavename='totallyaslave-c4',
issue=12345,
patchset=654321,
patch_url='http://src.chromium.org/foo/bar',
« no previous file with comments | « recipe_modules/bot_update/api.py ('k') | recipe_modules/bot_update/example.expected/basic.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698