From 538d5b68e8b6a8745ac8947f15abf1c7c6de8f18 Mon Sep 17 00:00:00 2001 From: borenet Date: Thu, 4 Aug 2016 11:07:10 -0700 Subject: 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 --- infra/bots/recipe_modules/run/api.py | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'infra/bots/recipe_modules/run/api.py') 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( -- cgit v1.2.3