aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/recipe_modules/run/api.py
diff options
context:
space:
mode:
authorGravatar borenet <borenet@chromium.org>2016-08-04 11:07:10 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-08-04 11:07:10 -0700
commit538d5b68e8b6a8745ac8947f15abf1c7c6de8f18 (patch)
tree7fe5f965dde6785a2c3b89a4415f36b78adce561 /infra/bots/recipe_modules/run/api.py
parent4e44efe50474d4eebcb30b762e784b3ef2126750 (diff)
Move builder_spec, [dm|nanobench]_flags, builder_name_schema to recipes
- builder_name_schema becomes its own recipe module. - builder_spec, dm, and nanobench flags move into vars module. - recipe expectation diffs include: - no more buildbot_spec.py step - "real" dm and nanobench flags, instead of --dummy-flags - some inconsequential stuff in visualbench, which is removed anyway. BUG=skia:5578 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2215803002 Review-Url: https://codereview.chromium.org/2215803002
Diffstat (limited to 'infra/bots/recipe_modules/run/api.py')
-rw-r--r--infra/bots/recipe_modules/run/api.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/infra/bots/recipe_modules/run/api.py b/infra/bots/recipe_modules/run/api.py
index 1784254d6e..20e82f2b1b 100644
--- a/infra/bots/recipe_modules/run/api.py
+++ b/infra/bots/recipe_modules/run/api.py
@@ -82,16 +82,6 @@ class SkiaStepApi(recipe_api.RecipeApi):
if fail_build_on_failure:
self._failed.append(e)
- def json_from_file(self, filename, cwd, builder_name, test_data):
- """Execute the given script to obtain JSON data."""
- return self.m.python(
- 'exec %s' % self.m.path.basename(filename),
- filename,
- args=[self.m.json.output(), builder_name],
- step_test_data=lambda: self.m.json.test_api.output(test_data),
- cwd=cwd,
- infra_step=True).json.output
-
def copy_build_products(self, src, dst):
"""Copy whitelisted build products from src to dst."""
self.m.python.inline(