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

Unified Diff: scripts/slave/recipes/infra/luci_go.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_go.py
diff --git a/scripts/slave/recipes/infra/luci_go.py b/scripts/slave/recipes/infra/luci_go.py
index 9c0bd9a7a068ce15cac293c17b256b1e25b8133a..740553d8318285846d58bfcc5669fded0d8281a7 100644
--- a/scripts/slave/recipes/infra/luci_go.py
+++ b/scripts/slave/recipes/infra/luci_go.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_go') +
api.properties.git_scheduled(
+ path_config='kitchen',
buildername='luci-go-linux64',
buildnumber=123,
mastername='chromium.infra',
@@ -98,6 +100,7 @@ def GenTests(api):
yield (
api.test('presubmit_try_job') +
api.properties.tryserver(
+ path_config='kitchen',
mastername='tryserver.infra',
buildername='Luci-go Presubmit',
) + api.step_data('presubmit', api.json.output([[]]))

Powered by Google App Engine
This is Rietveld 408576698