CtsTestCaseList.mk 5.6 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
# Copyright (C) 2010 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

Brian Muramatsu's avatar
Brian Muramatsu committed
15
cts_security_apps_list := \
Mika Isojärvi's avatar
Mika Isojärvi committed
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
    CtsAppAccessData \
    CtsAppWithData \
    CtsExternalStorageApp \
    CtsInstrumentationAppDiffCert \
    CtsPermissionDeclareApp \
    CtsPermissionDeclareAppCompat \
    CtsReadExternalStorageApp \
    CtsSharedUidInstall \
    CtsSharedUidInstallDiffCert \
    CtsSimpleAppInstall \
    CtsSimpleAppInstallDiffCert \
    CtsTargetInstrumentationApp \
    CtsUsePermissionDiffCert \
    CtsWriteExternalStorageApp \
    CtsMultiUserStorageApp
31

Brian Muramatsu's avatar
Brian Muramatsu committed
32
cts_support_packages := \
33
    CtsAccelerationTestStubs \
34
    CtsAppTestStubs \
35
    CtsDeviceAdmin \
36 37 38 39 40 41 42
    CtsDeviceOpenGl \
    CtsDeviceTaskswitchingAppA \
    CtsDeviceTaskswitchingAppB \
    CtsDeviceTaskswitchingControl \
    CtsDeviceUi \
    CtsMonkeyApp \
    CtsMonkeyApp2 \
43
    CtsProfileOwnerApp \
44 45
    CtsSomeAccessibilityServices \
    CtsTestStubs \
46
    CtsThemeDeviceApp \
47 48 49 50 51
    SignatureTest \
    TestDeviceSetup \
    CtsUiAutomatorApp \
    CtsUsbSerialTestApp \
    $(cts_security_apps_list)
Brian Muramatsu's avatar
Brian Muramatsu committed
52 53

cts_external_packages := \
Mika Isojärvi's avatar
Mika Isojärvi committed
54 55
    com.replica.replicaisland \
    com.drawelements.deqp
Brian Muramatsu's avatar
Brian Muramatsu committed
56 57 58 59

# Any APKs that need to be copied to the CTS distribution's testcases
# directory but do not require an associated test package XML.
CTS_TEST_CASE_LIST := \
Mika Isojärvi's avatar
Mika Isojärvi committed
60 61
    $(cts_support_packages) \
    $(cts_external_packages)
62 63

# Test packages that require an associated test package XML.
Brian Muramatsu's avatar
Brian Muramatsu committed
64
cts_test_packages := \
65 66 67 68 69 70 71 72 73 74 75 76 77 78
    CtsDeviceFilePerf \
    CtsDeviceUi \
    CtsDeviceDram \
    CtsDeviceSimpleCpu \
    CtsDeviceBrowserBench \
    CtsDeviceVideoPerf \
    CtsDeviceOpenGl \
    CtsAccelerationTestCases \
    CtsAccountManagerTestCases \
    CtsAccessibilityServiceTestCases \
    CtsAccessibilityTestCases \
    CtsAdminTestCases \
    CtsAnimationTestCases \
    CtsAppTestCases \
79
    CtsAppWidgetTestCases \
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
    CtsBluetoothTestCases \
    CtsCalendarcommon2TestCases \
    CtsContentTestCases \
    CtsDatabaseTestCases \
    CtsDisplayTestCases \
    CtsDpiTestCases \
    CtsDpiTestCases2 \
    CtsDreamsTestCases \
    CtsDrmTestCases \
    CtsEffectTestCases \
    CtsGestureTestCases \
    CtsGraphicsTestCases \
    CtsGraphics2TestCases \
    CtsHardwareTestCases \
    CtsJniTestCases \
    CtsKeystoreTestCases \
    CtsLocationTestCases \
97
    CtsLocation2TestCases \
98 99 100 101 102 103 104 105 106 107 108 109
    CtsMediaStressTestCases \
    CtsMediaTestCases \
    CtsNativeOpenGLTestCases \
    CtsNdefTestCases \
    CtsNetTestCases \
    CtsOpenGLTestCases \
    CtsOpenGlPerfTestCases \
    CtsOsTestCases \
    CtsPermissionTestCases \
    CtsPermission2TestCases \
    CtsPreferenceTestCases \
    CtsPreference2TestCases \
110
    CtsPrintTestCases \
111 112
    CtsProviderTestCases \
    CtsRenderscriptTestCases \
113
    CtsRenderscriptLegacyTestCases \
114 115 116 117 118 119 120 121
    CtsRsCppTestCases \
    CtsSaxTestCases \
    CtsSecurityTestCases \
    CtsSpeechTestCases \
    CtsTelephonyTestCases \
    CtsTextTestCases \
    CtsTextureViewTestCases \
    CtsThemeTestCases \
Wonsik Kim's avatar
Wonsik Kim committed
122
    CtsTvTestCases \
123
    CtsUiAutomationTestCases \
124
    CtsUiRenderingTestCases \
125 126 127
    CtsUtilTestCases \
    CtsViewTestCases \
    CtsWebkitTestCases \
Eric Penner's avatar
Eric Penner committed
128
    CtsWebGLTestCases \
129
    CtsWidgetTestCases
130

131 132
# All APKs that need to be scanned by the coverage utilities.
CTS_COVERAGE_TEST_CASE_LIST := \
Mika Isojärvi's avatar
Mika Isojärvi committed
133 134
    $(cts_support_packages) \
    $(cts_test_packages)
135 136

# Host side only tests
Brian Muramatsu's avatar
Brian Muramatsu committed
137
cts_host_libraries := \
138 139
    CtsAdbTests \
    CtsAppSecurityTests \
140
    CtsDevicePolicyManagerTestCases \
141 142
    CtsHostJank \
    CtsHostUi \
143
    CtsMonkeyTestCases \
144
    CtsThemeHostTestCases \
145
    CtsSecurityHostTestCases \
146
    CtsUsbTests
147

148
# Native test executables that need to have associated test XMLs.
Brian Muramatsu's avatar
Brian Muramatsu committed
149
cts_native_exes := \
Mika Isojärvi's avatar
Mika Isojärvi committed
150 151
    NativeMediaTest_SL \
    NativeMediaTest_XA \
Narayan Kamath's avatar
Narayan Kamath committed
152 153 154 155

ifeq ($(HOST_OS)-$(HOST_ARCH),$(filter $(HOST_OS)-$(HOST_ARCH),linux-x86 linux-x86_64))
cts_native_exes += bionic-unit-tests-cts
endif
Brian Muramatsu's avatar
Brian Muramatsu committed
156

157
cts_ui_tests := \
158 159 160
    CtsUiAutomatorTests

cts_device_jars := \
161 162 163 164 165
    CtsDeviceJank \
    CtsPrintInstrument

cts_device_executables := \
    print-instrument
166

Tsu Chiang Chuang's avatar
Tsu Chiang Chuang committed
167 168 169
cts_target_junit_tests := \
    CtsJdwp

170 171
# All the files that will end up under the repository/testcases
# directory of the final CTS distribution.
Brian Muramatsu's avatar
Brian Muramatsu committed
172
CTS_TEST_CASES := $(call cts-get-lib-paths,$(cts_host_libraries)) \
173 174 175
    $(call cts-get-package-paths,$(cts_test_packages)) \
    $(call cts-get-native-paths,$(cts_native_exes)) \
    $(call cts-get-ui-lib-paths,$(cts_ui_tests)) \
176
    $(call cts-get-ui-lib-paths,$(cts_device_jars)) \
Tsu Chiang Chuang's avatar
Tsu Chiang Chuang committed
177
    $(call cts-get-ui-lib-paths,$(cts_target_junit_tests)) \
178
    $(call cts-get-executable-paths,$(cts_device_executables))
Brian Muramatsu's avatar
Brian Muramatsu committed
179

180 181
# All the XMLs that will end up under the repository/testcases
# and that need to be created before making the final CTS distribution.
Brian Muramatsu's avatar
Brian Muramatsu committed
182
CTS_TEST_XMLS := $(call cts-get-test-xmls,$(cts_host_libraries)) \
183 184
    $(call cts-get-test-xmls,$(cts_test_packages)) \
    $(call cts-get-test-xmls,$(cts_native_exes)) \
Tsu Chiang Chuang's avatar
Tsu Chiang Chuang committed
185
    $(call cts-get-test-xmls,$(cts_target_junit_tests)) \
Mika Isojärvi's avatar
Mika Isojärvi committed
186 187 188
    $(call cts-get-test-xmls,$(cts_ui_tests)) \
    external/deqp/android/cts/com.drawelements.deqp.gles3.xml \
    external/deqp/android/cts/com.drawelements.deqp.gles31.xml
189

190
# The following files will be placed in the tools directory of the CTS distribution
Narayan Kamath's avatar
Narayan Kamath committed
191
CTS_TOOLS_LIST :=