OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 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 """Configuration file for android gtest suites.""" | 5 """Configuration file for android gtest suites.""" |
6 | 6 |
| 7 import collections |
| 8 |
| 9 |
| 10 Suite = collections.namedtuple('Suite', ['is_suite_exe', 'name']) |
| 11 Exe = lambda name : Suite(True, name) |
| 12 Apk = lambda name : Suite(False, name) |
| 13 |
| 14 |
7 # Add new suites here before upgrading them to the stable list below. | 15 # Add new suites here before upgrading them to the stable list below. |
8 EXPERIMENTAL_TEST_SUITES = [ | 16 EXPERIMENTAL_TEST_SUITES = [ |
9 # The JNI version of the sandbox_linux_unittests. Should be changed to | 17 Exe('sandbox_linux_unittests'), |
10 # 'sandbox_linux_unittests' once it can be run with --exe. | 18 Exe('breakpad_unittests'), |
11 'sandbox_linux_jni_unittests', | |
12 ] | 19 ] |
13 | 20 |
14 # Do not modify this list without approval of an android owner. | 21 # Do not modify this list without approval of an android owner. |
15 # This list determines which suites are run by default, both for local | 22 # This list determines which suites are run by default, both for local |
16 # testing and on android trybots running on commit-queue. | 23 # testing and on android trybots running on commit-queue. |
17 STABLE_TEST_SUITES = [ | 24 STABLE_TEST_SUITES = [ |
18 'TestWebKitAPI', | 25 Apk('TestWebKitAPI'), |
19 'android_webview_unittests', | 26 Apk('android_webview_unittests'), |
20 'base_unittests', | 27 Apk('base_unittests'), |
21 'cc_unittests', | 28 Apk('cc_unittests'), |
22 'components_unittests', | 29 Apk('components_unittests'), |
23 'content_unittests', | 30 Apk('content_unittests'), |
24 'gpu_unittests', | 31 Apk('gpu_unittests'), |
25 'ipc_tests', | 32 Apk('ipc_tests'), |
26 'media_unittests', | 33 Apk('media_unittests'), |
27 'net_unittests', | 34 Apk('net_unittests'), |
28 'sql_unittests', | 35 Apk('sql_unittests'), |
29 'sync_unit_tests', | 36 Apk('sync_unit_tests'), |
30 'ui_unittests', | 37 Apk('ui_unittests'), |
31 'unit_tests', | 38 Apk('unit_tests'), |
32 'webkit_compositor_bindings_unittests', | 39 Apk('webkit_compositor_bindings_unittests'), |
33 'webkit_unit_tests', | 40 Apk('webkit_unit_tests'), |
34 ] | 41 ] |
OLD | NEW |