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

Side by Side Diff: tests/masters_recipes_test.py

Issue 1185193006: Fixed presubmit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2014 The Chromium Authors. All rights reserved. 2 # Copyright 2014 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import json 6 import json
7 import os 7 import os
8 import subprocess 8 import subprocess
9 import sys 9 import sys
10 import tempfile 10 import tempfile
11 11
12 12
13 BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 13 BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
14 14
15 15
16 sys.path.insert(0, os.path.join(BASE_DIR, 'scripts')) 16 sys.path.insert(0, os.path.join(BASE_DIR, 'scripts'))
17 sys.path.insert(0, os.path.join(BASE_DIR, 'scripts', 'slave', 'recipes')) 17 sys.path.insert(0, os.path.join(BASE_DIR, 'scripts', 'slave', 'recipes'))
18 sys.path.insert( 18 sys.path.insert(
19 0, os.path.join(BASE_DIR, 'scripts', 'slave', 'recipe_modules')) 19 0, os.path.join(BASE_DIR, 'scripts', 'slave', 'recipe_modules'))
20 sys.path.insert(0, os.path.join(BASE_DIR, 'third_party')) 20 sys.path.insert(0, os.path.join(BASE_DIR, 'third_party'))
21 21
22 import chromium_trybot 22 import chromium_trybot
23 from chromium.builders import BUILDERS 23 from chromium_tests.builders import BUILDERS
24 24
25 25
26 MAIN_WATERFALL_MASTERS = [ 26 MAIN_WATERFALL_MASTERS = [
27 'master.chromium.chrome', 27 'master.chromium.chrome',
28 'master.chromium.chromiumos', 28 'master.chromium.chromiumos',
29 'master.chromium.gpu', 29 'master.chromium.gpu',
30 'master.chromium.linux', 30 'master.chromium.linux',
31 'master.chromium.mac', 31 'master.chromium.mac',
32 'master.chromium.memory', 32 'master.chromium.memory',
33 'master.chromium.win', 33 'master.chromium.win',
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 exit_code = 1 234 exit_code = 1
235 print 'Unused suppressions:' 235 print 'Unused suppressions:'
236 print '\n'.join(sorted( 236 print '\n'.join(sorted(
237 '\t%s:%s' % (b[0], b[1]) for b in unused_suppressions)) 237 '\t%s:%s' % (b[0], b[1]) for b in unused_suppressions))
238 238
239 return exit_code 239 return exit_code
240 240
241 241
242 if __name__ == '__main__': 242 if __name__ == '__main__':
243 sys.exit(main(sys.argv[1:])) 243 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698