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

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

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

Powered by Google App Engine
This is Rietveld 408576698