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

Side by Side Diff: scripts/slave/recipe_modules/chromium_tests/api.py

Issue 2010953002: Change chromium.memory.fyi to chromium.memory.full (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 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
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 import collections 5 import collections
6 import contextlib 6 import contextlib
7 import copy 7 import copy
8 import itertools 8 import itertools
9 import json 9 import json
10 10
(...skipping 21 matching lines...) Expand all
32 'cpu': None, 32 'cpu': None,
33 'gpu': None, 33 'gpu': None,
34 'os': 'Android', 34 'os': 'Android',
35 } 35 }
36 }) 36 })
37 37
38 38
39 MASTER_SWARMING_PRIORITIES = collections.defaultdict(lambda: 25) 39 MASTER_SWARMING_PRIORITIES = collections.defaultdict(lambda: 25)
40 MASTER_SWARMING_PRIORITIES.update({ 40 MASTER_SWARMING_PRIORITIES.update({
41 'chromium.fyi': 35, # This should be lower than the CQ. 41 'chromium.fyi': 35, # This should be lower than the CQ.
42 'chromium.memory.fyi': 27, 42 'chromium.memory.full': 27,
43 }) 43 })
44 44
45 45
46 class ChromiumTestsApi(recipe_api.RecipeApi): 46 class ChromiumTestsApi(recipe_api.RecipeApi):
47 def __init__(self, *args, **kwargs): 47 def __init__(self, *args, **kwargs):
48 super(ChromiumTestsApi, self).__init__(*args, **kwargs) 48 super(ChromiumTestsApi, self).__init__(*args, **kwargs)
49 self._builders = {} 49 self._builders = {}
50 self.add_builders(builders.BUILDERS) 50 self.add_builders(builders.BUILDERS)
51 self._precommit_mode = False 51 self._precommit_mode = False
52 52
(...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after
838 def get_compile_targets_for_scripts(self): 838 def get_compile_targets_for_scripts(self):
839 return self.m.python( 839 return self.m.python(
840 name='get compile targets for scripts', 840 name='get compile targets for scripts',
841 script=self.m.path['checkout'].join( 841 script=self.m.path['checkout'].join(
842 'testing', 'scripts', 'get_compile_targets.py'), 842 'testing', 'scripts', 'get_compile_targets.py'),
843 args=[ 843 args=[
844 '--output', self.m.json.output(), 844 '--output', self.m.json.output(),
845 '--', 845 '--',
846 ] + self.get_common_args_for_scripts(), 846 ] + self.get_common_args_for_scripts(),
847 step_test_data=lambda: self.m.json.test_api.output({})) 847 step_test_data=lambda: self.m.json.test_api.output({}))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698