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

Side by Side Diff: scripts/slave/recipe_modules/v8/test_api.py

Issue 1111413005: Some changes to allow recipes and modules to live noncentrally (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Review comments Created 5 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # Exposes the builder and recipe configurations to GenTests in recipes. 5 # Exposes the builder and recipe configurations to GenTests in recipes.
6 6
7 from slave import recipe_test_api 7 from slave import recipe_test_api
8 from slave.recipe_modules.v8 import builders 8 from . import builders
9 9
10 class V8TestApi(recipe_test_api.RecipeTestApi): 10 class V8TestApi(recipe_test_api.RecipeTestApi):
11 BUILDERS = builders.BUILDERS 11 BUILDERS = builders.BUILDERS
12 SLOWEST_TESTS = [ 12 SLOWEST_TESTS = [
13 { 13 {
14 'name': 'mjsunit/Cool.Test', 14 'name': 'mjsunit/Cool.Test',
15 'flags': ['-f'], 15 'flags': ['-f'],
16 'command': 'd8 -f mjsunit/Cool.Test', 16 'command': 'd8 -f mjsunit/Cool.Test',
17 'duration': 61.0028, 17 'duration': 61.0028,
18 }, 18 },
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 @recipe_test_api.mod_test_data 131 @recipe_test_api.mod_test_data
132 @staticmethod 132 @staticmethod
133 def perf_failures(has_failures): 133 def perf_failures(has_failures):
134 return has_failures 134 return has_failures
135 135
136 def __call__(self, test_failures=False, wrong_results=False, 136 def __call__(self, test_failures=False, wrong_results=False,
137 perf_failures=False): 137 perf_failures=False):
138 return (self.test_failures(test_failures) + 138 return (self.test_failures(test_failures) +
139 self.wrong_results(wrong_results) + 139 self.wrong_results(wrong_results) +
140 self.perf_failures(perf_failures)) 140 self.perf_failures(perf_failures))
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/v8/gclient_config.py ('k') | scripts/slave/recipe_modules/webrtc/api.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698