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

Side by Side Diff: build/android/pylib/linker/setup.py

Issue 1315743004: [Android] Add a custom pylintrc for build/android/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 """Setup for linker tests.""" 5 """Setup for linker tests."""
6 6
7 import logging 7 import logging
8 import os 8 import os
9 import sys 9 import sys
10 10
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 logging.warn('Not running LinkerModern tests (requires API %d, found %d)', 51 logging.warn('Not running LinkerModern tests (requires API %d, found %d)',
52 _MODERN_LINKER_MINIMUM_SDK_INT, min_sdk_int) 52 _MODERN_LINKER_MINIMUM_SDK_INT, min_sdk_int)
53 53
54 if args.test_filter: 54 if args.test_filter:
55 all_test_names = [test.qualified_name for test in all_tests] 55 all_test_names = [test.qualified_name for test in all_tests]
56 filtered_test_names = unittest_util.FilterTestNames(all_test_names, 56 filtered_test_names = unittest_util.FilterTestNames(all_test_names,
57 args.test_filter) 57 args.test_filter)
58 all_tests = [t for t in all_tests \ 58 all_tests = [t for t in all_tests \
59 if t.qualified_name in filtered_test_names] 59 if t.qualified_name in filtered_test_names]
60 60
61 # pylint: disable=unused-argument
61 def TestRunnerFactory(device, _shard_index): 62 def TestRunnerFactory(device, _shard_index):
62 return test_runner.LinkerTestRunner(device, args.tool) 63 return test_runner.LinkerTestRunner(device, args.tool)
63 64
64 return (TestRunnerFactory, all_tests) 65 return (TestRunnerFactory, all_tests)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698