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

Unified Diff: scripts/slave/recipes/run_presubmit.py

Issue 23889036: Refactor the way that TestApi works so that it is actually useful. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Move gclient test_api to got_revisions cl Created 7 years, 3 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/run_presubmit.py
diff --git a/scripts/slave/recipes/run_presubmit.py b/scripts/slave/recipes/run_presubmit.py
index e90db09169111de69c55268f40f22eb896d626a9..1770fb16a6633a5fe814c55867fe023a8f5d49b5 100644
--- a/scripts/slave/recipes/run_presubmit.py
+++ b/scripts/slave/recipes/run_presubmit.py
@@ -51,11 +51,11 @@ def GenSteps(api):
def GenTests(api):
for repo_name in ['blink', 'blink_bare', 'tools_build', 'chromium']:
if 'blink' in repo_name:
- props = api.properties_tryserver(
+ props = api.properties.tryserver(
root='src/third_party/WebKit'
)
else:
- props = api.properties_tryserver()
+ props = api.properties.tryserver()
props['repo_name'] = repo_name
yield repo_name, {

Powered by Google App Engine
This is Rietveld 408576698