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

Unified Diff: scripts/slave/recipes/infra/luci_gae.py

Issue 2045493002: build: add path_config=kitchen to infra recipes tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: 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/recipes/infra/luci_gae.py
diff --git a/scripts/slave/recipes/infra/luci_gae.py b/scripts/slave/recipes/infra/luci_gae.py
index b8b2b681c405985b789e0a4a488c74e9683f0781..d89cdee2703be2e8d7e40ff4a4537b0d3f0378cb 100644
--- a/scripts/slave/recipes/infra/luci_gae.py
+++ b/scripts/slave/recipes/infra/luci_gae.py
@@ -6,6 +6,7 @@ DEPS = [
'depot_tools/bot_update',
'depot_tools/gclient',
'depot_tools/git',
+ 'depot_tools/presubmit',
'recipe_engine/json',
'recipe_engine/path',
'recipe_engine/properties',
@@ -22,7 +23,7 @@ def _run_presubmit(api, patch_root, bot_update_step):
# infra/go/env.py takes care of this.
presubmit_cmd = [
'python', # env.py will replace with this its sys.executable.
- api.path['depot_tools'].join('presubmit_support.py'),
+ api.presubmit.presubmit_support_path,
'--root', api.path['slave_build'].join(patch_root),
'--commit',
'--verbose', '--verbose',
@@ -89,6 +90,7 @@ def GenTests(api):
yield (
api.test('luci_gae') +
api.properties.git_scheduled(
+ path_config='kitchen',
buildername='luci-gae-linux64',
mastername='chromium.infra',
repository='https://chromium.googlesource.com/external/github.com/luci/gae',
@@ -97,6 +99,7 @@ def GenTests(api):
yield (
api.test('presubmit_try_job') +
api.properties.tryserver(
+ path_config='kitchen',
mastername='tryserver.infra',
buildername='Luci-GAE Presubmit',
) + api.step_data('presubmit', api.json.output([[]]))

Powered by Google App Engine
This is Rietveld 408576698