| 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 HTMLParser | 5 import HTMLParser |
| 6 import logging | 6 import logging |
| 7 import os | 7 import os |
| 8 import re | 8 import re |
| 9 import tempfile | 9 import tempfile |
| 10 import threading | 10 import threading |
| 11 import xml.etree.ElementTree | 11 import xml.etree.ElementTree |
| 12 | 12 |
| 13 from devil.android import apk_helper | 13 from devil.android import apk_helper |
| 14 from pylib import constants | 14 from pylib import constants |
| 15 from pylib.constants import host_paths | 15 from pylib.constants import host_paths |
| 16 from pylib.base import base_test_result | 16 from pylib.base import base_test_result |
| 17 from pylib.base import test_instance | 17 from pylib.base import test_instance |
| 18 | 18 |
| 19 with host_paths.SysPath(host_paths.BUILD_COMMON_PATH): | 19 with host_paths.SysPath(host_paths.BUILD_COMMON_PATH): |
| 20 import unittest_util # pylint: disable=import-error | 20 import unittest_util # pylint: disable=import-error |
| 21 | 21 |
| 22 | 22 |
| 23 BROWSER_TEST_SUITES = [ | 23 BROWSER_TEST_SUITES = [ |
| 24 'components_browsertests', | 24 'components_browsertests', |
| 25 'content_browsertests', | 25 'content_browsertests', |
| 26 ] | 26 ] |
| 27 | 27 |
| 28 RUN_IN_SUB_THREAD_TEST_SUITES = ['net_unittests'] | 28 RUN_IN_SUB_THREAD_TEST_SUITES = [ |
| 29 # Multiprocess tests should be run outside of the main thread. |
| 30 'base_unittests', # file_locking_unittest.cc uses a child process. |
| 31 'ipc_perftests', |
| 32 'ipc_tests', |
| 33 'mojo_public_bindings_perftests', |
| 34 'mojo_system_unittests', |
| 35 'net_unittests' |
| 36 ] |
| 29 | 37 |
| 30 | 38 |
| 31 # Used for filtering large data deps at a finer grain than what's allowed in | 39 # Used for filtering large data deps at a finer grain than what's allowed in |
| 32 # isolate files since pushing deps to devices is expensive. | 40 # isolate files since pushing deps to devices is expensive. |
| 33 # Wildcards are allowed. | 41 # Wildcards are allowed. |
| 34 _DEPS_EXCLUSION_LIST = [ | 42 _DEPS_EXCLUSION_LIST = [ |
| 35 'chrome/test/data/extensions/api_test', | 43 'chrome/test/data/extensions/api_test', |
| 36 'chrome/test/data/extensions/secure_shell', | 44 'chrome/test/data/extensions/secure_shell', |
| 37 'chrome/test/data/firefox*', | 45 'chrome/test/data/firefox*', |
| 38 'chrome/test/data/gpu', | 46 'chrome/test/data/gpu', |
| (...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 474 '%s' % l for l in (line.strip() for line in disabled_tests_file) | 482 '%s' % l for l in (line.strip() for line in disabled_tests_file) |
| 475 if l and not l.startswith('#')] | 483 if l and not l.startswith('#')] |
| 476 | 484 |
| 477 return '*-%s' % ':'.join(disabled_filter_items) | 485 return '*-%s' % ':'.join(disabled_filter_items) |
| 478 | 486 |
| 479 #override | 487 #override |
| 480 def TearDown(self): | 488 def TearDown(self): |
| 481 """Do nothing.""" | 489 """Do nothing.""" |
| 482 pass | 490 pass |
| 483 | 491 |
| OLD | NEW |