blob: 5d23eb5916888f15c37fe3ce975a7e16d2ae067c [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 := \
Keun young Parkd93d0d12013-01-10 14:11:35 -080033 $(PTS_SUPPORT_PACKAGES) \
Brian Muramatsue669e042011-09-01 15:10:54 -070034 CtsAccelerationTestStubs \
Brian Muramatsu5df641c2011-12-28 15:46:57 -080035 CtsDeviceAdmin \
Brian Muramatsu1b15fd32012-02-01 18:30:43 -080036 CtsMonkeyApp \
Brian Muramatsua78e3ec2012-02-06 15:28:25 -080037 CtsMonkeyApp2 \
Svetoslav Ganovb803f802012-03-07 19:13:05 -080038 CtsSomeAccessibilityServices \
Brian Muramatsu5df641c2011-12-28 15:46:57 -080039 CtsTestStubs \
40 SignatureTest \
Brian Muramatsube775f52012-01-10 18:26:00 -080041 TestDeviceSetup \
Keun young Parkd93d0d12013-01-10 14:11:35 -080042 CtsUiAutomatorApp \
keunyoungb04de8f2013-08-20 17:11:12 -070043 CtsUsbSerialTestApp \
Brian Muramatsube775f52012-01-10 18:26:00 -080044 $(cts_security_apps_list)
45
46cts_external_packages := \
Brian Muramatsu1930a2e2012-01-23 10:36:13 -080047 com.replica.replicaisland
Brian Muramatsube775f52012-01-10 18:26:00 -080048
49# Any APKs that need to be copied to the CTS distribution's testcases
50# directory but do not require an associated test package XML.
51CTS_TEST_CASE_LIST := \
52 $(cts_support_packages) \
53 $(cts_external_packages)
Brian Muramatsu5df641c2011-12-28 15:46:57 -080054
55# Test packages that require an associated test package XML.
Brian Muramatsube775f52012-01-10 18:26:00 -080056cts_test_packages := \
Keun young Parkd93d0d12013-01-10 14:11:35 -080057 $(PTS_TEST_PACKAGES) \
Brian Muramatsu5df641c2011-12-28 15:46:57 -080058 CtsAccelerationTestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070059 CtsAccountManagerTestCases \
Svetoslav Ganovb803f802012-03-07 19:13:05 -080060 CtsAccessibilityServiceTestCases \
61 CtsAccessibilityTestCases \
Brian Muramatsu714433d2011-06-17 10:27:10 -070062 CtsAdminTestCases \
Rajdeep Dua5a8eb1b2011-12-08 08:46:05 +053063 CtsAnimationTestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070064 CtsAppTestCases \
65 CtsBluetoothTestCases \
Sam Blitzstein207bd1e2012-10-19 18:00:36 -070066 CtsCalendarcommon2TestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070067 CtsContentTestCases \
68 CtsDatabaseTestCases \
Craig Mautnera8e522f2012-10-22 11:46:30 -070069 CtsDisplayTestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070070 CtsDpiTestCases \
71 CtsDpiTestCases2 \
John Spurlock39332f82012-12-04 09:21:50 -050072 CtsDreamsTestCases \
Brian Muramatsua1c545d2011-02-15 11:47:16 -080073 CtsDrmTestCases \
Brian Muramatsub287ea02011-12-19 14:22:25 -080074 CtsEffectTestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070075 CtsExampleTestCases \
76 CtsGestureTestCases \
77 CtsGraphicsTestCases \
Keun young Park2b21cd12012-02-08 10:28:16 -080078 CtsGraphics2TestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070079 CtsHardwareTestCases \
Brian Muramatsue8c01662011-11-08 12:17:11 -080080 CtsHoloTestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070081 CtsJniTestCases \
Kenny Rootf32bcbc2013-05-10 15:51:58 -070082 CtsKeystoreTestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070083 CtsLocationTestCases \
Keun young Park81687a32011-12-06 12:17:55 -080084 CtsMediaStressTestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070085 CtsMediaTestCases \
Thomas Tafertshoferb5385a62012-08-15 15:40:45 -070086 CtsNativeOpenGLTestCases \
Nick Pelly42659652011-02-18 16:06:30 -080087 CtsNdefTestCases \
Brian Muramatsu18dae332011-10-10 14:44:32 -070088 CtsNetTestCases \
Rajdeep Duabf365d02012-03-30 16:26:45 +053089 CtsOpenGLTestCases \
Keun young Parkbb7869a2011-12-29 16:17:16 -080090 CtsOpenGlPerfTestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070091 CtsOsTestCases \
92 CtsPermissionTestCases \
93 CtsPermission2TestCases \
Brian Muramatsu6d3c3bd2010-12-03 12:15:30 -080094 CtsPreferenceTestCases \
Rajdeep Dua5dc8ba12012-01-30 15:22:40 +053095 CtsPreference2TestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070096 CtsProviderTestCases \
Stephen Hines4aeee062011-02-24 18:30:30 -080097 CtsRenderscriptTestCases \
Tim Murrayfc788072013-08-07 16:43:18 -070098 CtsRenderscriptGraphicsTestCases \
99 CtsRsCppTestCases \
Brian Muramatsue591e522010-04-26 16:50:50 -0700100 CtsSaxTestCases \
Brian Muramatsu8c86a012011-05-03 12:49:56 -0700101 CtsSecurityTestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -0700102 CtsSpeechTestCases \
103 CtsTelephonyTestCases \
104 CtsTextTestCases \
Daniel Sievers395497b2012-03-01 19:02:53 -0800105 CtsTextureViewTestCases \
Brian Muramatsue9b95a82012-01-06 11:19:59 -0800106 CtsThemeTestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -0700107 CtsUtilTestCases \
108 CtsViewTestCases \
109 CtsWebkitTestCases \
Brian Muramatsu18dae332011-10-10 14:44:32 -0700110 CtsWidgetTestCases
Brian Muramatsu2f8eead2010-09-24 14:56:43 -0700111
Brian Muramatsu5df641c2011-12-28 15:46:57 -0800112# All APKs that need to be scanned by the coverage utilities.
113CTS_COVERAGE_TEST_CASE_LIST := \
Brian Muramatsube775f52012-01-10 18:26:00 -0800114 $(cts_support_packages) \
115 $(cts_test_packages)
Brian Muramatsu12c86912011-07-21 17:26:46 -0700116
Geremy Condrac9571892012-03-05 12:32:24 -0800117
Brian Muramatsu5df641c2011-12-28 15:46:57 -0800118# Host side only tests
Brian Muramatsube775f52012-01-10 18:26:00 -0800119cts_host_libraries := \
Keun young Parkd93d0d12013-01-10 14:11:35 -0800120 $(PTS_HOST_CASES) \
keunyoungc767cba2013-04-03 14:50:58 -0700121 CtsAdbTests \
Brian Muramatsu1b15fd32012-02-01 18:30:43 -0800122 CtsAppSecurityTests \
keunyoungb04de8f2013-08-20 17:11:12 -0700123 CtsMonkeyTestCases \
124 CtsUsbTests
Brian Muramatsu5df641c2011-12-28 15:46:57 -0800125
keunyoungc767cba2013-04-03 14:50:58 -0700126
Brian Muramatsu5df641c2011-12-28 15:46:57 -0800127# Native test executables that need to have associated test XMLs.
Brian Muramatsube775f52012-01-10 18:26:00 -0800128cts_native_exes := \
Brian Muramatsu9c292f92011-12-14 14:53:22 -0800129 NativeMediaTest_SL \
Christopher Ferris60df2722013-08-27 14:52:00 -0700130 NativeMediaTest_XA \
131 bionic-unit-tests-cts \
Brian Muramatsu88d32a82011-12-02 10:55:12 -0800132
Brett Chabot87f44512012-11-16 16:00:02 -0800133cts_ui_tests := \
Stuart Scottd4d679f2013-06-05 16:08:28 -0700134 CtsUiAutomatorTests
Brett Chabot87f44512012-11-16 16:00:02 -0800135
Brian Muramatsu5df641c2011-12-28 15:46:57 -0800136# All the files that will end up under the repository/testcases
137# directory of the final CTS distribution.
Brian Muramatsube775f52012-01-10 18:26:00 -0800138CTS_TEST_CASES := $(call cts-get-lib-paths,$(cts_host_libraries)) \
139 $(call cts-get-package-paths,$(cts_test_packages)) \
Brett Chabot87f44512012-11-16 16:00:02 -0800140 $(call cts-get-native-paths,$(cts_native_exes)) \
Stuart Scott5e74e0a2013-06-27 19:25:45 -0700141 $(call cts-get-ui-lib-paths,$(cts_ui_tests)) \
142 $(call cts-get-ui-lib-paths,$(pts_device_lib_tests))
Brian Muramatsu88d32a82011-12-02 10:55:12 -0800143
Brian Muramatsu5df641c2011-12-28 15:46:57 -0800144# All the XMLs that will end up under the repository/testcases
145# and that need to be created before making the final CTS distribution.
Brian Muramatsube775f52012-01-10 18:26:00 -0800146CTS_TEST_XMLS := $(call cts-get-test-xmls,$(cts_host_libraries)) \
147 $(call cts-get-test-xmls,$(cts_test_packages)) \
Brett Chabot87f44512012-11-16 16:00:02 -0800148 $(call cts-get-test-xmls,$(cts_native_exes)) \
Stuart Scott5ad50092013-06-19 16:08:57 -0700149 $(call cts-get-test-xmls,$(cts_ui_tests))
Brett Chabot87f44512012-11-16 16:00:02 -0800150
Brian Muramatsu88d32a82011-12-02 10:55:12 -0800151
Brian Muramatsu12c86912011-07-21 17:26:46 -0700152# The following files will be placed in the tools directory of the CTS distribution
Brian Muramatsudd2bf712011-08-12 12:46:07 -0700153CTS_TOOLS_LIST :=