Brian Muramatsu | 320a7a1 | 2010-07-08 16:37:21 -0700 | [diff] [blame] | 1 | # 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 | |
| 15 | CTS_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 Muramatsu | 5df641c | 2011-12-28 15:46:57 -0800 | [diff] [blame] | 27 | # Any APKs that need to be copied to the CTS distribution's testcases |
| 28 | # directory but do not require an associated test package XML. |
| 29 | CTS_TEST_CASE_LIST := \ |
| 30 | TestDeviceSetup \ |
Brian Muramatsu | e669e04 | 2011-09-01 15:10:54 -0700 | [diff] [blame] | 31 | CtsAccelerationTestStubs \ |
Brian Muramatsu | 5df641c | 2011-12-28 15:46:57 -0800 | [diff] [blame] | 32 | CtsDelegatingAccessibilityService \ |
| 33 | CtsDeviceAdmin \ |
| 34 | CtsTestStubs \ |
| 35 | SignatureTest \ |
Keun young Park | 4771c9e | 2012-01-06 14:51:03 -0800 | [diff] [blame^] | 36 | replicaisland \ |
Brian Muramatsu | 5df641c | 2011-12-28 15:46:57 -0800 | [diff] [blame] | 37 | $(CTS_SECURITY_APPS_LIST) |
| 38 | |
| 39 | # Test packages that require an associated test package XML. |
| 40 | CTS_TEST_PACKAGES := \ |
| 41 | CtsAccelerationTestCases \ |
Brian Muramatsu | 320a7a1 | 2010-07-08 16:37:21 -0700 | [diff] [blame] | 42 | CtsAccessibilityServiceTestCases \ |
| 43 | CtsAccountManagerTestCases \ |
Brian Muramatsu | 714433d | 2011-06-17 10:27:10 -0700 | [diff] [blame] | 44 | CtsAdminTestCases \ |
Rajdeep Dua | 5a8eb1b | 2011-12-08 08:46:05 +0530 | [diff] [blame] | 45 | CtsAnimationTestCases \ |
Brian Muramatsu | 320a7a1 | 2010-07-08 16:37:21 -0700 | [diff] [blame] | 46 | CtsAppTestCases \ |
| 47 | CtsBluetoothTestCases \ |
| 48 | CtsContentTestCases \ |
| 49 | CtsDatabaseTestCases \ |
Brian Muramatsu | 320a7a1 | 2010-07-08 16:37:21 -0700 | [diff] [blame] | 50 | CtsDpiTestCases \ |
| 51 | CtsDpiTestCases2 \ |
Brian Muramatsu | a1c545d | 2011-02-15 11:47:16 -0800 | [diff] [blame] | 52 | CtsDrmTestCases \ |
Brian Muramatsu | b287ea0 | 2011-12-19 14:22:25 -0800 | [diff] [blame] | 53 | CtsEffectTestCases \ |
Brian Muramatsu | 320a7a1 | 2010-07-08 16:37:21 -0700 | [diff] [blame] | 54 | CtsExampleTestCases \ |
| 55 | CtsGestureTestCases \ |
| 56 | CtsGraphicsTestCases \ |
| 57 | CtsHardwareTestCases \ |
Brian Muramatsu | e8c0166 | 2011-11-08 12:17:11 -0800 | [diff] [blame] | 58 | CtsHoloTestCases \ |
Brian Muramatsu | 320a7a1 | 2010-07-08 16:37:21 -0700 | [diff] [blame] | 59 | CtsJniTestCases \ |
| 60 | CtsLocationTestCases \ |
| 61 | CtsMediaTestCases \ |
Nick Pelly | 4265965 | 2011-02-18 16:06:30 -0800 | [diff] [blame] | 62 | CtsNdefTestCases \ |
Brian Muramatsu | 18dae33 | 2011-10-10 14:44:32 -0700 | [diff] [blame] | 63 | CtsNetTestCases \ |
Keun young Park | bb7869a | 2011-12-29 16:17:16 -0800 | [diff] [blame] | 64 | CtsOpenGlPerfTestCases \ |
Brian Muramatsu | 320a7a1 | 2010-07-08 16:37:21 -0700 | [diff] [blame] | 65 | CtsOsTestCases \ |
| 66 | CtsPermissionTestCases \ |
| 67 | CtsPermission2TestCases \ |
Brian Muramatsu | 6d3c3bd | 2010-12-03 12:15:30 -0800 | [diff] [blame] | 68 | CtsPreferenceTestCases \ |
Brian Muramatsu | 320a7a1 | 2010-07-08 16:37:21 -0700 | [diff] [blame] | 69 | CtsProviderTestCases \ |
Stephen Hines | 4aeee06 | 2011-02-24 18:30:30 -0800 | [diff] [blame] | 70 | CtsRenderscriptTestCases \ |
Brian Muramatsu | e591e52 | 2010-04-26 16:50:50 -0700 | [diff] [blame] | 71 | CtsSaxTestCases \ |
Brian Muramatsu | 8c86a01 | 2011-05-03 12:49:56 -0700 | [diff] [blame] | 72 | CtsSecurityTestCases \ |
Brian Muramatsu | 320a7a1 | 2010-07-08 16:37:21 -0700 | [diff] [blame] | 73 | CtsSpeechTestCases \ |
| 74 | CtsTelephonyTestCases \ |
| 75 | CtsTextTestCases \ |
| 76 | CtsUtilTestCases \ |
| 77 | CtsViewTestCases \ |
| 78 | CtsWebkitTestCases \ |
Brian Muramatsu | 18dae33 | 2011-10-10 14:44:32 -0700 | [diff] [blame] | 79 | CtsWidgetTestCases |
Brian Muramatsu | 2f8eead | 2010-09-24 14:56:43 -0700 | [diff] [blame] | 80 | |
Brian Muramatsu | 5df641c | 2011-12-28 15:46:57 -0800 | [diff] [blame] | 81 | # All APKs that need to be scanned by the coverage utilities. |
| 82 | CTS_COVERAGE_TEST_CASE_LIST := \ |
| 83 | $(CTS_TEST_CASE_LIST) \ |
| 84 | $(CTS_TEST_PACKAGES) |
Brian Muramatsu | 12c8691 | 2011-07-21 17:26:46 -0700 | [diff] [blame] | 85 | |
Brian Muramatsu | 5df641c | 2011-12-28 15:46:57 -0800 | [diff] [blame] | 86 | # Host side only tests |
| 87 | CTS_HOST_LIBRARIES := \ |
| 88 | CtsAppSecurityTests |
| 89 | |
| 90 | # Native test executables that need to have associated test XMLs. |
Brian Muramatsu | 88d32a8 | 2011-12-02 10:55:12 -0800 | [diff] [blame] | 91 | CTS_NATIVE_EXES := \ |
Brian Muramatsu | 9c292f9 | 2011-12-14 14:53:22 -0800 | [diff] [blame] | 92 | NativeMediaTest_SL \ |
| 93 | NativeMediaTest_XA |
Brian Muramatsu | 88d32a8 | 2011-12-02 10:55:12 -0800 | [diff] [blame] | 94 | |
Brian Muramatsu | 5df641c | 2011-12-28 15:46:57 -0800 | [diff] [blame] | 95 | # All the files that will end up under the repository/testcases |
| 96 | # directory of the final CTS distribution. |
| 97 | CTS_TEST_CASES := $(call cts-get-lib-paths,$(CTS_HOST_LIBRARIES)) \ |
| 98 | $(call cts-get-package-paths,$(CTS_TEST_PACKAGES)) \ |
| 99 | $(call cts-get-native-paths,$(CTS_NATIVE_EXES)) |
Brian Muramatsu | 88d32a8 | 2011-12-02 10:55:12 -0800 | [diff] [blame] | 100 | |
Brian Muramatsu | 5df641c | 2011-12-28 15:46:57 -0800 | [diff] [blame] | 101 | # All the XMLs that will end up under the repository/testcases |
| 102 | # and that need to be created before making the final CTS distribution. |
| 103 | CTS_TEST_XMLS := $(call cts-get-test-xmls,$(CTS_HOST_LIBRARIES)) \ |
| 104 | $(call cts-get-test-xmls,$(CTS_TEST_PACKAGES)) \ |
| 105 | $(call cts-get-test-xmls,$(CTS_NATIVE_EXES)) |
Brian Muramatsu | 88d32a8 | 2011-12-02 10:55:12 -0800 | [diff] [blame] | 106 | |
Brian Muramatsu | 12c8691 | 2011-07-21 17:26:46 -0700 | [diff] [blame] | 107 | # The following files will be placed in the tools directory of the CTS distribution |
Brian Muramatsu | dd2bf71 | 2011-08-12 12:46:07 -0700 | [diff] [blame] | 108 | CTS_TOOLS_LIST := |