OLD | NEW |
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 logging | 5 import logging |
6 import os | 6 import os |
7 import re | 7 import re |
8 import shutil | 8 import shutil |
9 import sys | 9 import sys |
10 import tempfile | 10 import tempfile |
(...skipping 10 matching lines...) Expand all Loading... |
21 | 21 |
22 BROWSER_TEST_SUITES = [ | 22 BROWSER_TEST_SUITES = [ |
23 'components_browsertests', | 23 'components_browsertests', |
24 'content_browsertests', | 24 'content_browsertests', |
25 ] | 25 ] |
26 | 26 |
27 | 27 |
28 _DEFAULT_ISOLATE_FILE_PATHS = { | 28 _DEFAULT_ISOLATE_FILE_PATHS = { |
29 'base_unittests': 'base/base_unittests.isolate', | 29 'base_unittests': 'base/base_unittests.isolate', |
30 'blink_heap_unittests': | 30 'blink_heap_unittests': |
31 'third_party/WebKit/Source/platform/heap/blink_heap_unittests.isolate', | 31 'third_party/WebKit/Source/platform/heap/BlinkHeapUnitTests.isolate', |
32 'breakpad_unittests': 'breakpad/breakpad_unittests.isolate', | 32 'breakpad_unittests': 'breakpad/breakpad_unittests.isolate', |
33 'cc_perftests': 'cc/cc_perftests.isolate', | 33 'cc_perftests': 'cc/cc_perftests.isolate', |
34 'components_browsertests': 'components/components_browsertests.isolate', | 34 'components_browsertests': 'components/components_browsertests.isolate', |
35 'components_unittests': 'components/components_unittests.isolate', | 35 'components_unittests': 'components/components_unittests.isolate', |
36 'content_browsertests': 'content/content_browsertests.isolate', | 36 'content_browsertests': 'content/content_browsertests.isolate', |
37 'content_unittests': 'content/content_unittests.isolate', | 37 'content_unittests': 'content/content_unittests.isolate', |
38 'media_perftests': 'media/media_perftests.isolate', | 38 'media_perftests': 'media/media_perftests.isolate', |
39 'media_unittests': 'media/media_unittests.isolate', | 39 'media_unittests': 'media/media_unittests.isolate', |
40 'midi_unittests': 'media/midi/midi_unittests.isolate', | 40 'midi_unittests': 'media/midi/midi_unittests.isolate', |
41 'net_unittests': 'net/net_unittests.isolate', | 41 'net_unittests': 'net/net_unittests.isolate', |
42 'sql_unittests': 'sql/sql_unittests.isolate', | 42 'sql_unittests': 'sql/sql_unittests.isolate', |
43 'sync_unit_tests': 'sync/sync_unit_tests.isolate', | 43 'sync_unit_tests': 'sync/sync_unit_tests.isolate', |
44 'ui_base_unittests': 'ui/base/ui_base_tests.isolate', | 44 'ui_base_unittests': 'ui/base/ui_base_tests.isolate', |
45 'unit_tests': 'chrome/unit_tests.isolate', | 45 'unit_tests': 'chrome/unit_tests.isolate', |
46 'webkit_unit_tests': | 46 'webkit_unit_tests': |
47 'third_party/WebKit/Source/web/webkit_unit_tests.isolate', | 47 'third_party/WebKit/Source/web/WebKitUnitTests.isolate', |
48 } | 48 } |
49 | 49 |
50 | 50 |
51 # Used for filtering large data deps at a finer grain than what's allowed in | 51 # Used for filtering large data deps at a finer grain than what's allowed in |
52 # isolate files since pushing deps to devices is expensive. | 52 # isolate files since pushing deps to devices is expensive. |
53 # Wildcards are allowed. | 53 # Wildcards are allowed. |
54 _DEPS_EXCLUSION_LIST = [ | 54 _DEPS_EXCLUSION_LIST = [ |
55 'chrome/test/data/extensions/api_test', | 55 'chrome/test/data/extensions/api_test', |
56 'chrome/test/data/extensions/secure_shell', | 56 'chrome/test/data/extensions/secure_shell', |
57 'chrome/test/data/firefox*', | 57 'chrome/test/data/firefox*', |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 return self._package | 320 return self._package |
321 | 321 |
322 @property | 322 @property |
323 def runner(self): | 323 def runner(self): |
324 return self._runner | 324 return self._runner |
325 | 325 |
326 @property | 326 @property |
327 def suite(self): | 327 def suite(self): |
328 return self._suite | 328 return self._suite |
329 | 329 |
OLD | NEW |