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

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

Issue 1151423002: Move recipe engine to third_party/recipe_engine. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Moved field_composer_test with its buddies Created 5 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 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 recipe_engine import recipe_test_api
8 from . 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,
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 @staticmethod 191 @staticmethod
192 def perf_failures(has_failures): 192 def perf_failures(has_failures):
193 return has_failures 193 return has_failures
194 194
195 def __call__(self, test_failures=False, wrong_results=False, 195 def __call__(self, test_failures=False, wrong_results=False,
196 perf_failures=False, flakes=False): 196 perf_failures=False, flakes=False):
197 return (self.test_failures(test_failures) + 197 return (self.test_failures(test_failures) +
198 self.wrong_results(wrong_results) + 198 self.wrong_results(wrong_results) +
199 self.flakes(flakes) + 199 self.flakes(flakes) +
200 self.perf_failures(perf_failures)) 200 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