CtsTestCaseList.mk 3.98 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 := \
16 17
	CtsAppAccessData \
	CtsAppWithData \
18
	CtsExternalStorageApp \
19 20
	CtsInstrumentationAppDiffCert \
	CtsPermissionDeclareApp \
21
	CtsPermissionDeclareAppCompat \
22 23 24 25 26
	CtsSharedUidInstall \
	CtsSharedUidInstallDiffCert \
	CtsSimpleAppInstall \
	CtsSimpleAppInstallDiffCert \
	CtsTargetInstrumentationApp \
27
	CtsUsePermissionDiffCert \
28 29
	CtsWriteExternalStorageApp \
	CtsMultiUserStorageApp
30

Brian Muramatsu's avatar
Brian Muramatsu committed
31
cts_support_packages := \
Keun young Park's avatar
Keun young Park committed
32
	$(PTS_SUPPORT_PACKAGES) \
Brian Muramatsu's avatar
Brian Muramatsu committed
33
	CtsAccelerationTestStubs \
34
	CtsDeviceAdmin \
35
	CtsMonkeyApp \
Brian Muramatsu's avatar
Brian Muramatsu committed
36
	CtsMonkeyApp2 \
37
	CtsSomeAccessibilityServices \
38 39
	CtsTestStubs \
	SignatureTest \
Brian Muramatsu's avatar
Brian Muramatsu committed
40
	TestDeviceSetup \
Keun young Park's avatar
Keun young Park committed
41
	CtsUiAutomatorApp \
Brian Muramatsu's avatar
Brian Muramatsu committed
42 43 44
	$(cts_security_apps_list)

cts_external_packages := \
45
	com.replica.replicaisland
Brian Muramatsu's avatar
Brian Muramatsu committed
46 47 48 49 50 51

# 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 := \
	$(cts_support_packages) \
	$(cts_external_packages)
52 53

# Test packages that require an associated test package XML.
Brian Muramatsu's avatar
Brian Muramatsu committed
54
cts_test_packages := \
Keun young Park's avatar
Keun young Park committed
55
	$(PTS_TEST_PACKAGES) \
56
	CtsAccelerationTestCases \
57
	CtsAccountManagerTestCases \
58 59
	CtsAccessibilityServiceTestCases \
	CtsAccessibilityTestCases \
Brian Muramatsu's avatar
Brian Muramatsu committed
60
	CtsAdminTestCases \
Rajdeep Dua's avatar
Rajdeep Dua committed
61
	CtsAnimationTestCases \
62 63
	CtsAppTestCases \
	CtsBluetoothTestCases \
64
	CtsCalendarcommon2TestCases \
65 66
	CtsContentTestCases \
	CtsDatabaseTestCases \
67
	CtsDisplayTestCases \
68 69
	CtsDpiTestCases \
	CtsDpiTestCases2 \
70
	CtsDreamsTestCases \
Brian Muramatsu's avatar
Brian Muramatsu committed
71
	CtsDrmTestCases \
72
	CtsEffectTestCases \
73 74 75
	CtsExampleTestCases \
	CtsGestureTestCases \
	CtsGraphicsTestCases \
76
	CtsGraphics2TestCases \
77
	CtsHardwareTestCases \
Brian Muramatsu's avatar
Brian Muramatsu committed
78
	CtsHoloTestCases \
79
	CtsJniTestCases \
80
	CtsKeystoreTestCases \
81
	CtsLocationTestCases \
82
	CtsMediaStressTestCases \
83
	CtsMediaTestCases \
84
	CtsNativeOpenGLTestCases \
Nick Pelly's avatar
Nick Pelly committed
85
	CtsNdefTestCases \
Brian Muramatsu's avatar
Brian Muramatsu committed
86
	CtsNetTestCases \
87
	CtsOpenGLTestCases \
88
	CtsOpenGlPerfTestCases \
89 90 91
	CtsOsTestCases \
	CtsPermissionTestCases \
	CtsPermission2TestCases \
92
	CtsPreferenceTestCases \
93
	CtsPreference2TestCases \
94
	CtsProviderTestCases \
95
	CtsRenderscriptTestCases \
96
	CtsSaxTestCases \
Brian Muramatsu's avatar
Brian Muramatsu committed
97
	CtsSecurityTestCases \
98 99 100
	CtsSpeechTestCases \
	CtsTelephonyTestCases \
	CtsTextTestCases \
Daniel Sievers's avatar
Daniel Sievers committed
101
	CtsTextureViewTestCases \
102
	CtsThemeTestCases \
103 104 105
	CtsUtilTestCases \
	CtsViewTestCases \
	CtsWebkitTestCases \
Brian Muramatsu's avatar
Brian Muramatsu committed
106
	CtsWidgetTestCases
107

108 109
# All APKs that need to be scanned by the coverage utilities.
CTS_COVERAGE_TEST_CASE_LIST := \
Brian Muramatsu's avatar
Brian Muramatsu committed
110 111
	$(cts_support_packages) \
	$(cts_test_packages)
112

113

114
# Host side only tests
Brian Muramatsu's avatar
Brian Muramatsu committed
115
cts_host_libraries := \
Keun young Park's avatar
Keun young Park committed
116
	$(PTS_HOST_CASES) \
keunyoung's avatar
keunyoung committed
117
	CtsAdbTests \
118
	CtsAppSecurityTests \
119
	CtsMonkeyTestCases
120

keunyoung's avatar
keunyoung committed
121

122
# Native test executables that need to have associated test XMLs.
Brian Muramatsu's avatar
Brian Muramatsu committed
123
cts_native_exes := \
Brian Muramatsu's avatar
Brian Muramatsu committed
124 125
	NativeMediaTest_SL \
	NativeMediaTest_XA
Brian Muramatsu's avatar
Brian Muramatsu committed
126

127
cts_ui_tests := \
128
	CtsUiAutomatorTests
129

130 131
# All the files that will end up under the repository/testcases
# directory of the final CTS distribution.
Brian Muramatsu's avatar
Brian Muramatsu committed
132 133
CTS_TEST_CASES := $(call cts-get-lib-paths,$(cts_host_libraries)) \
		$(call cts-get-package-paths,$(cts_test_packages)) \
134
		$(call cts-get-native-paths,$(cts_native_exes)) \
135
		$(call cts-get-ui-lib-paths,$(cts_ui_tests))
Brian Muramatsu's avatar
Brian Muramatsu committed
136

137 138
# 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
139 140
CTS_TEST_XMLS := $(call cts-get-test-xmls,$(cts_host_libraries)) \
		$(call cts-get-test-xmls,$(cts_test_packages)) \
141
		$(call cts-get-test-xmls,$(cts_native_exes)) \
142
		$(call cts-get-test-xmls,$(cts_ui_tests))
143

Brian Muramatsu's avatar
Brian Muramatsu committed
144

145
# The following files will be placed in the tools directory of the CTS distribution
146
CTS_TOOLS_LIST :=