blob: 70f3ef9ab70c5b301fbdf869416de68c6dc0e0f5 [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
15CTS_SECURITY_APPS_LIST := \
16 CtsAppAccessData \
17 CtsAppWithData \
18 CtsInstrumentationAppDiffCert \
19 CtsPermissionDeclareApp \
20 CtsSharedUidInstall \
21 CtsSharedUidInstallDiffCert \
22 CtsSimpleAppInstall \
23 CtsSimpleAppInstallDiffCert \
24 CtsTargetInstrumentationApp \
25 CtsUsePermissionDiffCert
26
Brian Muramatsu5df641c2011-12-28 15:46:57 -080027# Any APKs that need to be copied to the CTS distribution's testcases
28# directory but do not require an associated test package XML.
29CTS_TEST_CASE_LIST := \
30 TestDeviceSetup \
Brian Muramatsue669e042011-09-01 15:10:54 -070031 CtsAccelerationTestStubs \
Brian Muramatsu5df641c2011-12-28 15:46:57 -080032 CtsDelegatingAccessibilityService \
33 CtsDeviceAdmin \
34 CtsTestStubs \
35 SignatureTest \
36 ApiDemos \
37 ApiDemosReferenceTest \
38 $(CTS_SECURITY_APPS_LIST)
39
40# Test packages that require an associated test package XML.
41CTS_TEST_PACKAGES := \
42 CtsAccelerationTestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070043 CtsAccessibilityServiceTestCases \
44 CtsAccountManagerTestCases \
Brian Muramatsu714433d2011-06-17 10:27:10 -070045 CtsAdminTestCases \
Rajdeep Dua5a8eb1b2011-12-08 08:46:05 +053046 CtsAnimationTestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070047 CtsAppTestCases \
48 CtsBluetoothTestCases \
49 CtsContentTestCases \
50 CtsDatabaseTestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070051 CtsDpiTestCases \
52 CtsDpiTestCases2 \
Brian Muramatsua1c545d2011-02-15 11:47:16 -080053 CtsDrmTestCases \
Brian Muramatsub287ea02011-12-19 14:22:25 -080054 CtsEffectTestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070055 CtsExampleTestCases \
56 CtsGestureTestCases \
57 CtsGraphicsTestCases \
58 CtsHardwareTestCases \
Brian Muramatsue8c01662011-11-08 12:17:11 -080059 CtsHoloTestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070060 CtsJniTestCases \
61 CtsLocationTestCases \
62 CtsMediaTestCases \
Nick Pelly42659652011-02-18 16:06:30 -080063 CtsNdefTestCases \
Brian Muramatsu18dae332011-10-10 14:44:32 -070064 CtsNetTestCases \
Keun young Parkbb7869a2011-12-29 16:17:16 -080065 CtsOpenGlPerfTestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070066 CtsOsTestCases \
67 CtsPermissionTestCases \
68 CtsPermission2TestCases \
Brian Muramatsu6d3c3bd2010-12-03 12:15:30 -080069 CtsPreferenceTestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070070 CtsProviderTestCases \
Stephen Hines4aeee062011-02-24 18:30:30 -080071 CtsRenderscriptTestCases \
Brian Muramatsue591e522010-04-26 16:50:50 -070072 CtsSaxTestCases \
Brian Muramatsu8c86a012011-05-03 12:49:56 -070073 CtsSecurityTestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070074 CtsSpeechTestCases \
75 CtsTelephonyTestCases \
76 CtsTextTestCases \
77 CtsUtilTestCases \
78 CtsViewTestCases \
79 CtsWebkitTestCases \
Brian Muramatsu18dae332011-10-10 14:44:32 -070080 CtsWidgetTestCases
Brian Muramatsu2f8eead2010-09-24 14:56:43 -070081
Brian Muramatsu5df641c2011-12-28 15:46:57 -080082# All APKs that need to be scanned by the coverage utilities.
83CTS_COVERAGE_TEST_CASE_LIST := \
84 $(CTS_TEST_CASE_LIST) \
85 $(CTS_TEST_PACKAGES)
Brian Muramatsu12c86912011-07-21 17:26:46 -070086
Brian Muramatsu5df641c2011-12-28 15:46:57 -080087# Host side only tests
88CTS_HOST_LIBRARIES := \
89 CtsAppSecurityTests
90
91# Native test executables that need to have associated test XMLs.
Brian Muramatsu88d32a82011-12-02 10:55:12 -080092CTS_NATIVE_EXES := \
Brian Muramatsu9c292f92011-12-14 14:53:22 -080093 NativeMediaTest_SL \
94 NativeMediaTest_XA
Brian Muramatsu88d32a82011-12-02 10:55:12 -080095
Brian Muramatsu5df641c2011-12-28 15:46:57 -080096# All the files that will end up under the repository/testcases
97# directory of the final CTS distribution.
98CTS_TEST_CASES := $(call cts-get-lib-paths,$(CTS_HOST_LIBRARIES)) \
99 $(call cts-get-package-paths,$(CTS_TEST_PACKAGES)) \
100 $(call cts-get-native-paths,$(CTS_NATIVE_EXES))
Brian Muramatsu88d32a82011-12-02 10:55:12 -0800101
Brian Muramatsu5df641c2011-12-28 15:46:57 -0800102# All the XMLs that will end up under the repository/testcases
103# and that need to be created before making the final CTS distribution.
104CTS_TEST_XMLS := $(call cts-get-test-xmls,$(CTS_HOST_LIBRARIES)) \
105 $(call cts-get-test-xmls,$(CTS_TEST_PACKAGES)) \
106 $(call cts-get-test-xmls,$(CTS_NATIVE_EXES))
Brian Muramatsu88d32a82011-12-02 10:55:12 -0800107
Brian Muramatsu12c86912011-07-21 17:26:46 -0700108# The following files will be placed in the tools directory of the CTS distribution
Brian Muramatsudd2bf712011-08-12 12:46:07 -0700109CTS_TOOLS_LIST :=