blob: 5fe6c5e3b78e7e3188c680e2b5ff72c0ea58a0da [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 Scotta132af62013-11-07 10:30:32 -080033 CtsDeviceOpenGl \
34 CtsDeviceTaskswitchingAppA \
35 CtsDeviceTaskswitchingAppB \
36 CtsDeviceTaskswitchingControl \
37 CtsDeviceUi \
38 CtsAccelerationTestStubs \
39 CtsDeviceAdmin \
40 CtsMonkeyApp \
41 CtsMonkeyApp2 \
42 CtsSomeAccessibilityServices \
43 CtsTestStubs \
44 SignatureTest \
45 TestDeviceSetup \
46 CtsUiAutomatorApp \
47 CtsUsbSerialTestApp \
48 $(cts_security_apps_list)
Brian Muramatsube775f52012-01-10 18:26:00 -080049
50cts_external_packages := \
Brian Muramatsu1930a2e2012-01-23 10:36:13 -080051 com.replica.replicaisland
Brian Muramatsube775f52012-01-10 18:26:00 -080052
53# Any APKs that need to be copied to the CTS distribution's testcases
54# directory but do not require an associated test package XML.
55CTS_TEST_CASE_LIST := \
56 $(cts_support_packages) \
57 $(cts_external_packages)
Brian Muramatsu5df641c2011-12-28 15:46:57 -080058
59# Test packages that require an associated test package XML.
Brian Muramatsube775f52012-01-10 18:26:00 -080060cts_test_packages := \
Stuart Scotta132af62013-11-07 10:30:32 -080061 CtsDeviceFilePerf \
62 CtsDeviceUi \
63 CtsDeviceDram \
64 CtsDeviceSimpleCpu \
65 CtsDeviceBrowserBench \
66 CtsDeviceVideoPerf \
67 CtsDeviceOpenGl \
68 CtsAccelerationTestCases \
69 CtsAccountManagerTestCases \
70 CtsAccessibilityServiceTestCases \
71 CtsAccessibilityTestCases \
72 CtsAdminTestCases \
73 CtsAnimationTestCases \
74 CtsAppTestCases \
75 CtsBluetoothTestCases \
76 CtsCalendarcommon2TestCases \
77 CtsContentTestCases \
78 CtsDatabaseTestCases \
79 CtsDisplayTestCases \
80 CtsDpiTestCases \
81 CtsDpiTestCases2 \
82 CtsDreamsTestCases \
83 CtsDrmTestCases \
84 CtsEffectTestCases \
Stuart Scotta132af62013-11-07 10:30:32 -080085 CtsGestureTestCases \
86 CtsGraphicsTestCases \
87 CtsGraphics2TestCases \
88 CtsHardwareTestCases \
89 CtsHoloTestCases \
90 CtsJniTestCases \
91 CtsKeystoreTestCases \
92 CtsLocationTestCases \
93 CtsMediaStressTestCases \
94 CtsMediaTestCases \
95 CtsNativeOpenGLTestCases \
96 CtsNdefTestCases \
97 CtsNetTestCases \
98 CtsOpenGLTestCases \
99 CtsOpenGlPerfTestCases \
100 CtsOsTestCases \
101 CtsPermissionTestCases \
102 CtsPermission2TestCases \
103 CtsPreferenceTestCases \
104 CtsPreference2TestCases \
Svetoslav12c82d42013-12-20 12:34:52 -0800105 CtsPrintTestCases \
Stuart Scotta132af62013-11-07 10:30:32 -0800106 CtsProviderTestCases \
107 CtsRenderscriptTestCases \
108 CtsRenderscriptGraphicsTestCases \
109 CtsRsCppTestCases \
110 CtsSaxTestCases \
111 CtsSecurityTestCases \
112 CtsSpeechTestCases \
113 CtsTelephonyTestCases \
114 CtsTextTestCases \
115 CtsTextureViewTestCases \
116 CtsThemeTestCases \
117 CtsUtilTestCases \
118 CtsViewTestCases \
119 CtsWebkitTestCases \
120 CtsWidgetTestCases
Brian Muramatsu2f8eead2010-09-24 14:56:43 -0700121
Brian Muramatsu5df641c2011-12-28 15:46:57 -0800122# All APKs that need to be scanned by the coverage utilities.
123CTS_COVERAGE_TEST_CASE_LIST := \
Brian Muramatsube775f52012-01-10 18:26:00 -0800124 $(cts_support_packages) \
125 $(cts_test_packages)
Brian Muramatsu12c86912011-07-21 17:26:46 -0700126
Brian Muramatsu5df641c2011-12-28 15:46:57 -0800127# Host side only tests
Brian Muramatsube775f52012-01-10 18:26:00 -0800128cts_host_libraries := \
Stuart Scotta132af62013-11-07 10:30:32 -0800129 CtsHostUi \
130 CtsHostJank \
131 CtsAdbTests \
132 CtsAppSecurityTests \
133 CtsMonkeyTestCases \
134 CtsUsbTests
Brian Muramatsu5df641c2011-12-28 15:46:57 -0800135
136# Native test executables that need to have associated test XMLs.
Brian Muramatsube775f52012-01-10 18:26:00 -0800137cts_native_exes := \
Brian Muramatsu9c292f92011-12-14 14:53:22 -0800138 NativeMediaTest_SL \
Christopher Ferris60df2722013-08-27 14:52:00 -0700139 NativeMediaTest_XA \
Svetoslav12c82d42013-12-20 12:34:52 -0800140 bionic-unit-tests-cts
Brian Muramatsu88d32a82011-12-02 10:55:12 -0800141
Brett Chabot87f44512012-11-16 16:00:02 -0800142cts_ui_tests := \
Stuart Scotta132af62013-11-07 10:30:32 -0800143 CtsUiAutomatorTests
144
145cts_device_jars := \
Svetoslav12c82d42013-12-20 12:34:52 -0800146 CtsDeviceJank \
147 CtsPrintInstrument
148
149cts_device_executables := \
150 print-instrument
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)) \
Svetoslav12c82d42013-12-20 12:34:52 -0800158 $(call cts-get-ui-lib-paths,$(cts_device_jars)) \
159 $(call cts-get-executable-paths,$(cts_device_executables))
Brian Muramatsu88d32a82011-12-02 10:55:12 -0800160
Brian Muramatsu5df641c2011-12-28 15:46:57 -0800161# All the XMLs that will end up under the repository/testcases
162# and that need to be created before making the final CTS distribution.
Brian Muramatsube775f52012-01-10 18:26:00 -0800163CTS_TEST_XMLS := $(call cts-get-test-xmls,$(cts_host_libraries)) \
Stuart Scotta132af62013-11-07 10:30:32 -0800164 $(call cts-get-test-xmls,$(cts_test_packages)) \
165 $(call cts-get-test-xmls,$(cts_native_exes)) \
166 $(call cts-get-test-xmls,$(cts_ui_tests))
Brett Chabot87f44512012-11-16 16:00:02 -0800167
Brian Muramatsu12c86912011-07-21 17:26:46 -0700168# The following files will be placed in the tools directory of the CTS distribution
Stuart Scotta132af62013-11-07 10:30:32 -0800169CTS_TOOLS_LIST :=