CtsTestCaseList.mk 3.87 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 := \
Brian Muramatsu's avatar
Brian Muramatsu committed
32
	CtsAccelerationTestStubs \
33 34
	CtsDelegatingAccessibilityService \
	CtsDeviceAdmin \
35
	CtsHoloDeviceApp \
36
	CtsMonkeyApp \
Brian Muramatsu's avatar
Brian Muramatsu committed
37
	CtsMonkeyApp2 \
38
	CtsSomeAccessibilityServices \
39 40
	CtsTestStubs \
	SignatureTest \
Brian Muramatsu's avatar
Brian Muramatsu committed
41
	TestDeviceSetup \
42
        CtsUiAutomatorApp \
Brian Muramatsu's avatar
Brian Muramatsu committed
43 44 45
	$(cts_security_apps_list)

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

# 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)
53 54

# Test packages that require an associated test package XML.
Brian Muramatsu's avatar
Brian Muramatsu committed
55
cts_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 67 68
	CtsContentTestCases \
	CtsDatabaseTestCases \
	CtsDpiTestCases \
	CtsDpiTestCases2 \
Brian Muramatsu's avatar
Brian Muramatsu committed
69
	CtsDrmTestCases \
70
	CtsEffectTestCases \
71 72 73
	CtsExampleTestCases \
	CtsGestureTestCases \
	CtsGraphicsTestCases \
74
	CtsGraphics2TestCases \
75 76 77
	CtsHardwareTestCases \
	CtsJniTestCases \
	CtsLocationTestCases \
78
	CtsMediaStressTestCases \
79
	CtsMediaTestCases \
Nick Pelly's avatar
Nick Pelly committed
80
	CtsNdefTestCases \
Brian Muramatsu's avatar
Brian Muramatsu committed
81
	CtsNetTestCases \
82
	CtsOpenGLTestCases \
83
	CtsOpenGlPerfTestCases \
84 85 86
	CtsOsTestCases \
	CtsPermissionTestCases \
	CtsPermission2TestCases \
87
	CtsPreferenceTestCases \
88
	CtsPreference2TestCases \
89
	CtsProviderTestCases \
90
	CtsRenderscriptTestCases \
91
	CtsSaxTestCases \
Brian Muramatsu's avatar
Brian Muramatsu committed
92
	CtsSecurityTestCases \
93 94 95
	CtsSpeechTestCases \
	CtsTelephonyTestCases \
	CtsTextTestCases \
Daniel Sievers's avatar
Daniel Sievers committed
96
	CtsTextureViewTestCases \
97
	CtsThemeTestCases \
98 99 100
	CtsUtilTestCases \
	CtsViewTestCases \
	CtsWebkitTestCases \
Brian Muramatsu's avatar
Brian Muramatsu committed
101
	CtsWidgetTestCases
102

103 104
# All APKs that need to be scanned by the coverage utilities.
CTS_COVERAGE_TEST_CASE_LIST := \
Brian Muramatsu's avatar
Brian Muramatsu committed
105 106
	$(cts_support_packages) \
	$(cts_test_packages)
107

108

109
# Host side only tests
Brian Muramatsu's avatar
Brian Muramatsu committed
110
cts_host_libraries := \
111
	CtsAppSecurityTests \
112
	CtsHoloHostTestCases \
113
	CtsMonkeyTestCases
114

115
# Native test executables that need to have associated test XMLs.
Brian Muramatsu's avatar
Brian Muramatsu committed
116
cts_native_exes := \
Brian Muramatsu's avatar
Brian Muramatsu committed
117 118
	NativeMediaTest_SL \
	NativeMediaTest_XA
Brian Muramatsu's avatar
Brian Muramatsu committed
119

120 121 122
cts_ui_tests := \
        CtsUiAutomatorTests

123 124
# All the files that will end up under the repository/testcases
# directory of the final CTS distribution.
Brian Muramatsu's avatar
Brian Muramatsu committed
125 126
CTS_TEST_CASES := $(call cts-get-lib-paths,$(cts_host_libraries)) \
		$(call cts-get-package-paths,$(cts_test_packages)) \
127 128
		$(call cts-get-native-paths,$(cts_native_exes)) \
		$(call cts-get-ui-lib-paths,$(cts_ui_tests))
Brian Muramatsu's avatar
Brian Muramatsu committed
129

130 131
# 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
132 133
CTS_TEST_XMLS := $(call cts-get-test-xmls,$(cts_host_libraries)) \
		$(call cts-get-test-xmls,$(cts_test_packages)) \
134 135 136
		$(call cts-get-test-xmls,$(cts_native_exes)) \
		$(call cts-get-test-xmls,$(cts_ui_tests))

Brian Muramatsu's avatar
Brian Muramatsu committed
137

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