blob: b98c4e6a1daaf04ddecef70c9b4d68d3d1c0cede [file] [log] [blame]
Brian Muramatsu320a7a12010-07-08 16:37:21 -07001# Copyright (C) 2010 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
Brian Muramatsube775f52012-01-10 18:26:00 -080015cts_security_apps_list := \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070016 CtsAppAccessData \
17 CtsAppWithData \
Jeff Sharkeyb5a88dd2012-05-07 16:16:49 -070018 CtsExternalStorageApp \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070019 CtsInstrumentationAppDiffCert \
20 CtsPermissionDeclareApp \
Nick Kralevich380058b2012-07-27 18:34:02 -070021 CtsPermissionDeclareAppCompat \
Jeff Sharkey85fb7652013-10-02 11:15:47 -070022 CtsReadExternalStorageApp \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070023 CtsSharedUidInstall \
24 CtsSharedUidInstallDiffCert \
25 CtsSimpleAppInstall \
26 CtsSimpleAppInstallDiffCert \
27 CtsTargetInstrumentationApp \
Jeff Sharkeyb5a88dd2012-05-07 16:16:49 -070028 CtsUsePermissionDiffCert \
Jeff Sharkey429cd4e2012-10-11 17:18:31 -070029 CtsWriteExternalStorageApp \
30 CtsMultiUserStorageApp
Brian Muramatsu320a7a12010-07-08 16:37:21 -070031
Brian Muramatsube775f52012-01-10 18:26:00 -080032cts_support_packages := \
Stuart Scott1734c7f2014-02-19 17:34:36 -080033 CtsAccelerationTestStubs \
34 CtsDeviceAdmin \
Stuart Scotta132af62013-11-07 10:30:32 -080035 CtsDeviceOpenGl \
36 CtsDeviceTaskswitchingAppA \
37 CtsDeviceTaskswitchingAppB \
38 CtsDeviceTaskswitchingControl \
39 CtsDeviceUi \
Stuart Scott1734c7f2014-02-19 17:34:36 -080040 CtsHoloDeviceApp \
Stuart Scotta132af62013-11-07 10:30:32 -080041 CtsMonkeyApp \
42 CtsMonkeyApp2 \
Stuart Scottd35f8eb2014-01-13 17:41:01 -080043 CtsSampleDeviceApp \
Stuart Scotta132af62013-11-07 10:30:32 -080044 CtsSomeAccessibilityServices \
45 CtsTestStubs \
46 SignatureTest \
47 TestDeviceSetup \
48 CtsUiAutomatorApp \
49 CtsUsbSerialTestApp \
50 $(cts_security_apps_list)
Brian Muramatsube775f52012-01-10 18:26:00 -080051
52cts_external_packages := \
Brian Muramatsu1930a2e2012-01-23 10:36:13 -080053 com.replica.replicaisland
Brian Muramatsube775f52012-01-10 18:26:00 -080054
55# Any APKs that need to be copied to the CTS distribution's testcases
56# directory but do not require an associated test package XML.
57CTS_TEST_CASE_LIST := \
58 $(cts_support_packages) \
59 $(cts_external_packages)
Brian Muramatsu5df641c2011-12-28 15:46:57 -080060
61# Test packages that require an associated test package XML.
Brian Muramatsube775f52012-01-10 18:26:00 -080062cts_test_packages := \
Stuart Scotta132af62013-11-07 10:30:32 -080063 CtsDeviceFilePerf \
64 CtsDeviceUi \
65 CtsDeviceDram \
66 CtsDeviceSimpleCpu \
67 CtsDeviceBrowserBench \
68 CtsDeviceVideoPerf \
69 CtsDeviceOpenGl \
70 CtsAccelerationTestCases \
71 CtsAccountManagerTestCases \
72 CtsAccessibilityServiceTestCases \
73 CtsAccessibilityTestCases \
74 CtsAdminTestCases \
75 CtsAnimationTestCases \
76 CtsAppTestCases \
77 CtsBluetoothTestCases \
78 CtsCalendarcommon2TestCases \
79 CtsContentTestCases \
80 CtsDatabaseTestCases \
81 CtsDisplayTestCases \
82 CtsDpiTestCases \
83 CtsDpiTestCases2 \
84 CtsDreamsTestCases \
85 CtsDrmTestCases \
86 CtsEffectTestCases \
Stuart Scotta132af62013-11-07 10:30:32 -080087 CtsGestureTestCases \
88 CtsGraphicsTestCases \
89 CtsGraphics2TestCases \
90 CtsHardwareTestCases \
91 CtsHoloTestCases \
92 CtsJniTestCases \
93 CtsKeystoreTestCases \
94 CtsLocationTestCases \
95 CtsMediaStressTestCases \
96 CtsMediaTestCases \
97 CtsNativeOpenGLTestCases \
98 CtsNdefTestCases \
99 CtsNetTestCases \
100 CtsOpenGLTestCases \
101 CtsOpenGlPerfTestCases \
102 CtsOsTestCases \
103 CtsPermissionTestCases \
104 CtsPermission2TestCases \
105 CtsPreferenceTestCases \
106 CtsPreference2TestCases \
107 CtsProviderTestCases \
108 CtsRenderscriptTestCases \
109 CtsRenderscriptGraphicsTestCases \
110 CtsRsCppTestCases \
Stuart Scottd35f8eb2014-01-13 17:41:01 -0800111 CtsSampleDeviceTestCases \
Stuart Scotta132af62013-11-07 10:30:32 -0800112 CtsSaxTestCases \
113 CtsSecurityTestCases \
114 CtsSpeechTestCases \
115 CtsTelephonyTestCases \
116 CtsTextTestCases \
117 CtsTextureViewTestCases \
118 CtsThemeTestCases \
119 CtsUtilTestCases \
120 CtsViewTestCases \
121 CtsWebkitTestCases \
122 CtsWidgetTestCases
Brian Muramatsu2f8eead2010-09-24 14:56:43 -0700123
Brian Muramatsu5df641c2011-12-28 15:46:57 -0800124# All APKs that need to be scanned by the coverage utilities.
125CTS_COVERAGE_TEST_CASE_LIST := \
Brian Muramatsube775f52012-01-10 18:26:00 -0800126 $(cts_support_packages) \
127 $(cts_test_packages)
Brian Muramatsu12c86912011-07-21 17:26:46 -0700128
Brian Muramatsu5df641c2011-12-28 15:46:57 -0800129# Host side only tests
Brian Muramatsube775f52012-01-10 18:26:00 -0800130cts_host_libraries := \
Stuart Scotta132af62013-11-07 10:30:32 -0800131 CtsAdbTests \
132 CtsAppSecurityTests \
Stuart Scott1734c7f2014-02-19 17:34:36 -0800133 CtsHoloHostTestCases \
134 CtsHostJank \
135 CtsHostUi \
Stuart Scotta132af62013-11-07 10:30:32 -0800136 CtsMonkeyTestCases \
Stuart Scottd35f8eb2014-01-13 17:41:01 -0800137 CtsSampleHostTestCases \
Stuart Scotta132af62013-11-07 10:30:32 -0800138 CtsUsbTests
Brian Muramatsu5df641c2011-12-28 15:46:57 -0800139
140# Native test executables that need to have associated test XMLs.
Brian Muramatsube775f52012-01-10 18:26:00 -0800141cts_native_exes := \
Brian Muramatsu9c292f92011-12-14 14:53:22 -0800142 NativeMediaTest_SL \
Christopher Ferris60df2722013-08-27 14:52:00 -0700143 NativeMediaTest_XA \
144 bionic-unit-tests-cts \
Brian Muramatsu88d32a82011-12-02 10:55:12 -0800145
Brett Chabot87f44512012-11-16 16:00:02 -0800146cts_ui_tests := \
Stuart Scotta132af62013-11-07 10:30:32 -0800147 CtsUiAutomatorTests
148
149cts_device_jars := \
150 CtsDeviceJank
Brett Chabot87f44512012-11-16 16:00:02 -0800151
Brian Muramatsu5df641c2011-12-28 15:46:57 -0800152# All the files that will end up under the repository/testcases
153# directory of the final CTS distribution.
Brian Muramatsube775f52012-01-10 18:26:00 -0800154CTS_TEST_CASES := $(call cts-get-lib-paths,$(cts_host_libraries)) \
Stuart Scotta132af62013-11-07 10:30:32 -0800155 $(call cts-get-package-paths,$(cts_test_packages)) \
156 $(call cts-get-native-paths,$(cts_native_exes)) \
157 $(call cts-get-ui-lib-paths,$(cts_ui_tests)) \
158 $(call cts-get-ui-lib-paths,$(cts_device_jars))
Brian Muramatsu88d32a82011-12-02 10:55:12 -0800159
Brian Muramatsu5df641c2011-12-28 15:46:57 -0800160# All the XMLs that will end up under the repository/testcases
161# and that need to be created before making the final CTS distribution.
Brian Muramatsube775f52012-01-10 18:26:00 -0800162CTS_TEST_XMLS := $(call cts-get-test-xmls,$(cts_host_libraries)) \
Stuart Scotta132af62013-11-07 10:30:32 -0800163 $(call cts-get-test-xmls,$(cts_test_packages)) \
164 $(call cts-get-test-xmls,$(cts_native_exes)) \
165 $(call cts-get-test-xmls,$(cts_ui_tests))
Brett Chabot87f44512012-11-16 16:00:02 -0800166
Brian Muramatsu88d32a82011-12-02 10:55:12 -0800167
Brian Muramatsu12c86912011-07-21 17:26:46 -0700168# The following files will be placed in the tools directory of the CTS distribution
Brian Muramatsudd2bf712011-08-12 12:46:07 -0700169CTS_TOOLS_LIST :=