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

Side by Side Diff: build/android/pylib/gtest/gtest_test_instance.py

Issue 2613183002: Revert of Multiprocess test client: Android child process launcher rework. (Closed)
Patch Set: Created 3 years, 11 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 | « base/test/test_support_android.cc ('k') | components/test_runner/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 = [ 28 RUN_IN_SUB_THREAD_TEST_SUITES = ['net_unittests']
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_message_pipe_perftests',
34 'mojo_public_bindings_perftests',
35 'mojo_system_unittests',
36 'net_unittests'
37 ]
38 29
39 30
40 # Used for filtering large data deps at a finer grain than what's allowed in 31 # Used for filtering large data deps at a finer grain than what's allowed in
41 # isolate files since pushing deps to devices is expensive. 32 # isolate files since pushing deps to devices is expensive.
42 # Wildcards are allowed. 33 # Wildcards are allowed.
43 _DEPS_EXCLUSION_LIST = [ 34 _DEPS_EXCLUSION_LIST = [
44 'chrome/test/data/extensions/api_test', 35 'chrome/test/data/extensions/api_test',
45 'chrome/test/data/extensions/secure_shell', 36 'chrome/test/data/extensions/secure_shell',
46 'chrome/test/data/firefox*', 37 'chrome/test/data/firefox*',
47 'chrome/test/data/gpu', 38 'chrome/test/data/gpu',
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 '%s' % l for l in (line.strip() for line in disabled_tests_file) 476 '%s' % l for l in (line.strip() for line in disabled_tests_file)
486 if l and not l.startswith('#')] 477 if l and not l.startswith('#')]
487 478
488 return '*-%s' % ':'.join(disabled_filter_items) 479 return '*-%s' % ':'.join(disabled_filter_items)
489 480
490 #override 481 #override
491 def TearDown(self): 482 def TearDown(self):
492 """Do nothing.""" 483 """Do nothing."""
493 pass 484 pass
494 485
OLDNEW
« no previous file with comments | « base/test/test_support_android.cc ('k') | components/test_runner/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698