blob: e525c7cebe4f4f10d4de76db9e418e603a82d8e5 [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 \
21 CtsSharedUidInstall \
22 CtsSharedUidInstallDiffCert \
23 CtsSimpleAppInstall \
24 CtsSimpleAppInstallDiffCert \
25 CtsTargetInstrumentationApp \
Jeff Sharkeyb5a88dd2012-05-07 16:16:49 -070026 CtsUsePermissionDiffCert \
27 CtsWriteExternalStorageApp
Brian Muramatsu320a7a12010-07-08 16:37:21 -070028
Brian Muramatsube775f52012-01-10 18:26:00 -080029cts_support_packages := \
Brian Muramatsue669e042011-09-01 15:10:54 -070030 CtsAccelerationTestStubs \
Brian Muramatsu5df641c2011-12-28 15:46:57 -080031 CtsDelegatingAccessibilityService \
32 CtsDeviceAdmin \
Brian Muramatsu1b15fd32012-02-01 18:30:43 -080033 CtsMonkeyApp \
Brian Muramatsua78e3ec2012-02-06 15:28:25 -080034 CtsMonkeyApp2 \
Svetoslav Ganovb803f802012-03-07 19:13:05 -080035 CtsSomeAccessibilityServices \
Brian Muramatsu5df641c2011-12-28 15:46:57 -080036 CtsTestStubs \
37 SignatureTest \
Brian Muramatsube775f52012-01-10 18:26:00 -080038 TestDeviceSetup \
39 $(cts_security_apps_list)
40
41cts_external_packages := \
Brian Muramatsu1930a2e2012-01-23 10:36:13 -080042 com.replica.replicaisland
Brian Muramatsube775f52012-01-10 18:26:00 -080043
44# Any APKs that need to be copied to the CTS distribution's testcases
45# directory but do not require an associated test package XML.
46CTS_TEST_CASE_LIST := \
47 $(cts_support_packages) \
48 $(cts_external_packages)
Brian Muramatsu5df641c2011-12-28 15:46:57 -080049
50# Test packages that require an associated test package XML.
Brian Muramatsube775f52012-01-10 18:26:00 -080051cts_test_packages := \
Brian Muramatsu5df641c2011-12-28 15:46:57 -080052 CtsAccelerationTestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070053 CtsAccountManagerTestCases \
Svetoslav Ganovb803f802012-03-07 19:13:05 -080054 CtsAccessibilityServiceTestCases \
55 CtsAccessibilityTestCases \
Brian Muramatsu714433d2011-06-17 10:27:10 -070056 CtsAdminTestCases \
Rajdeep Dua5a8eb1b2011-12-08 08:46:05 +053057 CtsAnimationTestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070058 CtsAppTestCases \
59 CtsBluetoothTestCases \
60 CtsContentTestCases \
61 CtsDatabaseTestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070062 CtsDpiTestCases \
63 CtsDpiTestCases2 \
Brian Muramatsua1c545d2011-02-15 11:47:16 -080064 CtsDrmTestCases \
Brian Muramatsub287ea02011-12-19 14:22:25 -080065 CtsEffectTestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070066 CtsExampleTestCases \
67 CtsGestureTestCases \
68 CtsGraphicsTestCases \
Keun young Park2b21cd12012-02-08 10:28:16 -080069 CtsGraphics2TestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070070 CtsHardwareTestCases \
Brian Muramatsue8c01662011-11-08 12:17:11 -080071 CtsHoloTestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070072 CtsJniTestCases \
73 CtsLocationTestCases \
Keun young Park81687a32011-12-06 12:17:55 -080074 CtsMediaStressTestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070075 CtsMediaTestCases \
Nick Pelly42659652011-02-18 16:06:30 -080076 CtsNdefTestCases \
Brian Muramatsu18dae332011-10-10 14:44:32 -070077 CtsNetTestCases \
Rajdeep Duabf365d02012-03-30 16:26:45 +053078 CtsOpenGLTestCases \
Keun young Parkbb7869a2011-12-29 16:17:16 -080079 CtsOpenGlPerfTestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070080 CtsOsTestCases \
81 CtsPermissionTestCases \
82 CtsPermission2TestCases \
Brian Muramatsu6d3c3bd2010-12-03 12:15:30 -080083 CtsPreferenceTestCases \
Rajdeep Dua5dc8ba12012-01-30 15:22:40 +053084 CtsPreference2TestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070085 CtsProviderTestCases \
Stephen Hines4aeee062011-02-24 18:30:30 -080086 CtsRenderscriptTestCases \
Brian Muramatsue591e522010-04-26 16:50:50 -070087 CtsSaxTestCases \
Brian Muramatsu8c86a012011-05-03 12:49:56 -070088 CtsSecurityTestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070089 CtsSpeechTestCases \
90 CtsTelephonyTestCases \
91 CtsTextTestCases \
Daniel Sievers395497b2012-03-01 19:02:53 -080092 CtsTextureViewTestCases \
Brian Muramatsue9b95a82012-01-06 11:19:59 -080093 CtsThemeTestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070094 CtsUtilTestCases \
95 CtsViewTestCases \
96 CtsWebkitTestCases \
Geremy Condrac9571892012-03-05 12:32:24 -080097 CtsWebkitSecurityTestCases \
Brian Muramatsu18dae332011-10-10 14:44:32 -070098 CtsWidgetTestCases
Brian Muramatsu2f8eead2010-09-24 14:56:43 -070099
Brian Muramatsu5df641c2011-12-28 15:46:57 -0800100# All APKs that need to be scanned by the coverage utilities.
101CTS_COVERAGE_TEST_CASE_LIST := \
Brian Muramatsube775f52012-01-10 18:26:00 -0800102 $(cts_support_packages) \
103 $(cts_test_packages)
Brian Muramatsu12c86912011-07-21 17:26:46 -0700104
Geremy Condrac9571892012-03-05 12:32:24 -0800105
Brian Muramatsu5df641c2011-12-28 15:46:57 -0800106# Host side only tests
Brian Muramatsube775f52012-01-10 18:26:00 -0800107cts_host_libraries := \
Brian Muramatsu1b15fd32012-02-01 18:30:43 -0800108 CtsAppSecurityTests \
Svetoslav Ganovb803f802012-03-07 19:13:05 -0800109 CtsMonkeyTestCases
Brian Muramatsu5df641c2011-12-28 15:46:57 -0800110
111# Native test executables that need to have associated test XMLs.
Brian Muramatsube775f52012-01-10 18:26:00 -0800112cts_native_exes := \
Brian Muramatsu9c292f92011-12-14 14:53:22 -0800113 NativeMediaTest_SL \
114 NativeMediaTest_XA
Brian Muramatsu88d32a82011-12-02 10:55:12 -0800115
Brian Muramatsu5df641c2011-12-28 15:46:57 -0800116# All the files that will end up under the repository/testcases
117# directory of the final CTS distribution.
Brian Muramatsube775f52012-01-10 18:26:00 -0800118CTS_TEST_CASES := $(call cts-get-lib-paths,$(cts_host_libraries)) \
119 $(call cts-get-package-paths,$(cts_test_packages)) \
120 $(call cts-get-native-paths,$(cts_native_exes))
Brian Muramatsu88d32a82011-12-02 10:55:12 -0800121
Brian Muramatsu5df641c2011-12-28 15:46:57 -0800122# All the XMLs that will end up under the repository/testcases
123# and that need to be created before making the final CTS distribution.
Brian Muramatsube775f52012-01-10 18:26:00 -0800124CTS_TEST_XMLS := $(call cts-get-test-xmls,$(cts_host_libraries)) \
125 $(call cts-get-test-xmls,$(cts_test_packages)) \
126 $(call cts-get-test-xmls,$(cts_native_exes))
Brian Muramatsu88d32a82011-12-02 10:55:12 -0800127
Brian Muramatsu12c86912011-07-21 17:26:46 -0700128# The following files will be placed in the tools directory of the CTS distribution
Brian Muramatsudd2bf712011-08-12 12:46:07 -0700129CTS_TOOLS_LIST :=