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

Side by Side Diff: scripts/slave/unittests/recipe_lint_test.py

Issue 2375663003: Add json test results format support for SwarmingIsolatedScriptTest (Closed)
Patch Set: Add no cover Created 4 years, 2 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
« no previous file with comments | « scripts/slave/recipes/chromium.expected/dynamic_swarmed_sharded_passed_isolated_script_test.json ('k') | 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 (c) 2013 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2013 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 os 6 import os
7 import sys 7 import sys
8 8
9 MODULES_WHITELIST = [ 9 MODULES_WHITELIST = [
10 # TODO(martiniss): Move skia modules into recipe resources 10 # TODO(martiniss): Move skia modules into recipe resources
11 r'common\.skia\..*', 11 r'common\.skia\..*',
12 r'slave\.skia\..*', 12 r'slave\.skia\..*',
13 r'slave\.recipe_modules\.swarming\.resources\..*'
13 ] 14 ]
14 15
15 RECIPES_PY = os.path.join( 16 RECIPES_PY = os.path.join(
16 os.path.dirname(os.path.dirname(os.path.realpath(__file__))), 17 os.path.dirname(os.path.dirname(os.path.realpath(__file__))),
17 'recipes.py') 18 'recipes.py')
18 19
19 args = [sys.argv[0], '--deps-path', '.lint_recipe_deps', 'lint'] 20 args = [sys.argv[0], '--deps-path', '.lint_recipe_deps', 'lint']
20 for pattern in MODULES_WHITELIST: 21 for pattern in MODULES_WHITELIST:
21 args.extend(['-w', pattern]) 22 args.extend(['-w', pattern])
22 os.execvp(RECIPES_PY, args) 23 os.execvp(RECIPES_PY, args)
23 24
OLDNEW
« no previous file with comments | « scripts/slave/recipes/chromium.expected/dynamic_swarmed_sharded_passed_isolated_script_test.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698