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 | |
Brian Muramatsu | be775f5 | 2012-01-10 18:26:00 -0800 | [diff] [blame] | 15 | cts_security_apps_list := \ |
Mika Isojärvi | 84e6593 | 2014-09-11 18:11:07 +0300 | [diff] [blame] | 16 | CtsAppAccessData \ |
| 17 | CtsAppWithData \ |
| 18 | CtsExternalStorageApp \ |
| 19 | CtsInstrumentationAppDiffCert \ |
| 20 | CtsPermissionDeclareApp \ |
| 21 | CtsPermissionDeclareAppCompat \ |
| 22 | CtsReadExternalStorageApp \ |
| 23 | CtsSharedUidInstall \ |
| 24 | CtsSharedUidInstallDiffCert \ |
| 25 | CtsSimpleAppInstall \ |
| 26 | CtsSimpleAppInstallDiffCert \ |
Jeff Sharkey | 6302bb5 | 2014-10-07 12:09:40 -0700 | [diff] [blame] | 27 | CtsSplitApp \ |
| 28 | CtsSplitApp_x86 \ |
| 29 | CtsSplitApp_x86_64 \ |
| 30 | CtsSplitApp_armeabi-v7a \ |
| 31 | CtsSplitApp_armeabi \ |
| 32 | CtsSplitApp_arm64-v8a \ |
| 33 | CtsSplitApp_mips64 \ |
| 34 | CtsSplitApp_mips \ |
| 35 | CtsSplitAppDiffVersion \ |
| 36 | CtsSplitAppDiffCert \ |
Jeff Sharkey | d724a39 | 2014-10-08 16:37:51 -0700 | [diff] [blame^] | 37 | CtsSplitAppFeature \ |
Mika Isojärvi | 84e6593 | 2014-09-11 18:11:07 +0300 | [diff] [blame] | 38 | CtsTargetInstrumentationApp \ |
| 39 | CtsUsePermissionDiffCert \ |
| 40 | CtsWriteExternalStorageApp \ |
| 41 | CtsMultiUserStorageApp |
Brian Muramatsu | 320a7a1 | 2010-07-08 16:37:21 -0700 | [diff] [blame] | 42 | |
Brian Muramatsu | be775f5 | 2012-01-10 18:26:00 -0800 | [diff] [blame] | 43 | cts_support_packages := \ |
Stuart Scott | 1734c7f | 2014-02-19 17:34:36 -0800 | [diff] [blame] | 44 | CtsAccelerationTestStubs \ |
Chenjie Luo | 15f32be | 2014-09-25 11:28:03 -0700 | [diff] [blame] | 45 | CtsAppTestStubs \ |
Stuart Scott | 1734c7f | 2014-02-19 17:34:36 -0800 | [diff] [blame] | 46 | CtsDeviceAdmin \ |
Stuart Scott | a132af6 | 2013-11-07 10:30:32 -0800 | [diff] [blame] | 47 | CtsDeviceOpenGl \ |
Esteban Talavera | 17aafef | 2014-09-30 17:03:32 +0100 | [diff] [blame] | 48 | CtsDeviceOwnerApp \ |
Stuart Scott | a132af6 | 2013-11-07 10:30:32 -0800 | [diff] [blame] | 49 | CtsDeviceTaskswitchingAppA \ |
| 50 | CtsDeviceTaskswitchingAppB \ |
| 51 | CtsDeviceTaskswitchingControl \ |
| 52 | CtsDeviceUi \ |
Nicolas Prevot | 7366f3f | 2014-10-01 13:56:18 +0100 | [diff] [blame] | 53 | CtsIntentReceiverApp \ |
Esteban Talavera | 17aafef | 2014-09-30 17:03:32 +0100 | [diff] [blame] | 54 | CtsManagedProfileApp \ |
Stuart Scott | a132af6 | 2013-11-07 10:30:32 -0800 | [diff] [blame] | 55 | CtsMonkeyApp \ |
| 56 | CtsMonkeyApp2 \ |
| 57 | CtsSomeAccessibilityServices \ |
Chenjie Luo | 42aaa5c | 2014-08-20 18:33:47 -0700 | [diff] [blame] | 58 | CtsThemeDeviceApp \ |
Stuart Scott | a132af6 | 2013-11-07 10:30:32 -0800 | [diff] [blame] | 59 | TestDeviceSetup \ |
| 60 | CtsUiAutomatorApp \ |
| 61 | CtsUsbSerialTestApp \ |
| 62 | $(cts_security_apps_list) |
Brian Muramatsu | be775f5 | 2012-01-10 18:26:00 -0800 | [diff] [blame] | 63 | |
| 64 | cts_external_packages := \ |
Mika Isojärvi | 84e6593 | 2014-09-11 18:11:07 +0300 | [diff] [blame] | 65 | com.replica.replicaisland \ |
| 66 | com.drawelements.deqp |
Brian Muramatsu | be775f5 | 2012-01-10 18:26:00 -0800 | [diff] [blame] | 67 | |
| 68 | # Any APKs that need to be copied to the CTS distribution's testcases |
| 69 | # directory but do not require an associated test package XML. |
| 70 | CTS_TEST_CASE_LIST := \ |
Mika Isojärvi | 84e6593 | 2014-09-11 18:11:07 +0300 | [diff] [blame] | 71 | $(cts_support_packages) \ |
| 72 | $(cts_external_packages) |
Brian Muramatsu | 5df641c | 2011-12-28 15:46:57 -0800 | [diff] [blame] | 73 | |
| 74 | # Test packages that require an associated test package XML. |
Brian Muramatsu | be775f5 | 2012-01-10 18:26:00 -0800 | [diff] [blame] | 75 | cts_test_packages := \ |
Stuart Scott | a132af6 | 2013-11-07 10:30:32 -0800 | [diff] [blame] | 76 | CtsDeviceFilePerf \ |
| 77 | CtsDeviceUi \ |
| 78 | CtsDeviceDram \ |
| 79 | CtsDeviceSimpleCpu \ |
| 80 | CtsDeviceBrowserBench \ |
| 81 | CtsDeviceVideoPerf \ |
| 82 | CtsDeviceOpenGl \ |
| 83 | CtsAccelerationTestCases \ |
| 84 | CtsAccountManagerTestCases \ |
| 85 | CtsAccessibilityServiceTestCases \ |
| 86 | CtsAccessibilityTestCases \ |
| 87 | CtsAdminTestCases \ |
| 88 | CtsAnimationTestCases \ |
| 89 | CtsAppTestCases \ |
Svet Ganov | 31510c0 | 2014-07-28 00:07:01 -0700 | [diff] [blame] | 90 | CtsAppWidgetTestCases \ |
Stuart Scott | a132af6 | 2013-11-07 10:30:32 -0800 | [diff] [blame] | 91 | CtsBluetoothTestCases \ |
| 92 | CtsCalendarcommon2TestCases \ |
| 93 | CtsContentTestCases \ |
| 94 | CtsDatabaseTestCases \ |
| 95 | CtsDisplayTestCases \ |
| 96 | CtsDpiTestCases \ |
| 97 | CtsDpiTestCases2 \ |
| 98 | CtsDreamsTestCases \ |
| 99 | CtsDrmTestCases \ |
| 100 | CtsEffectTestCases \ |
Stuart Scott | a132af6 | 2013-11-07 10:30:32 -0800 | [diff] [blame] | 101 | CtsGestureTestCases \ |
| 102 | CtsGraphicsTestCases \ |
| 103 | CtsGraphics2TestCases \ |
| 104 | CtsHardwareTestCases \ |
Stuart Scott | a132af6 | 2013-11-07 10:30:32 -0800 | [diff] [blame] | 105 | CtsJniTestCases \ |
| 106 | CtsKeystoreTestCases \ |
| 107 | CtsLocationTestCases \ |
Chenjie Luo | 693ed40 | 2014-09-11 15:12:33 -0700 | [diff] [blame] | 108 | CtsLocation2TestCases \ |
Stuart Scott | a132af6 | 2013-11-07 10:30:32 -0800 | [diff] [blame] | 109 | CtsMediaStressTestCases \ |
| 110 | CtsMediaTestCases \ |
| 111 | CtsNativeOpenGLTestCases \ |
| 112 | CtsNdefTestCases \ |
| 113 | CtsNetTestCases \ |
| 114 | CtsOpenGLTestCases \ |
| 115 | CtsOpenGlPerfTestCases \ |
| 116 | CtsOsTestCases \ |
| 117 | CtsPermissionTestCases \ |
| 118 | CtsPermission2TestCases \ |
| 119 | CtsPreferenceTestCases \ |
| 120 | CtsPreference2TestCases \ |
Svetoslav | 12c82d4 | 2013-12-20 12:34:52 -0800 | [diff] [blame] | 121 | CtsPrintTestCases \ |
Stuart Scott | a132af6 | 2013-11-07 10:30:32 -0800 | [diff] [blame] | 122 | CtsProviderTestCases \ |
| 123 | CtsRenderscriptTestCases \ |
Chenjie Luo | 74e860b | 2014-09-08 11:36:02 -0700 | [diff] [blame] | 124 | CtsRenderscriptLegacyTestCases \ |
Stuart Scott | a132af6 | 2013-11-07 10:30:32 -0800 | [diff] [blame] | 125 | CtsRsCppTestCases \ |
| 126 | CtsSaxTestCases \ |
| 127 | CtsSecurityTestCases \ |
Stuart Scott | f67280f | 2014-09-30 14:07:30 -0700 | [diff] [blame] | 128 | CtsSignatureTestCases \ |
Stuart Scott | a132af6 | 2013-11-07 10:30:32 -0800 | [diff] [blame] | 129 | CtsSpeechTestCases \ |
| 130 | CtsTelephonyTestCases \ |
| 131 | CtsTextTestCases \ |
| 132 | CtsTextureViewTestCases \ |
| 133 | CtsThemeTestCases \ |
Wonsik Kim | 42fe889 | 2014-08-07 17:05:37 +0900 | [diff] [blame] | 134 | CtsTvTestCases \ |
Svetoslav | 966b4e9 | 2014-03-28 13:41:17 -0700 | [diff] [blame] | 135 | CtsUiAutomationTestCases \ |
Antonio Calabrese | 16ac3c8 | 2014-06-12 13:58:58 -0700 | [diff] [blame] | 136 | CtsUiRenderingTestCases \ |
Adam Lesinski | 4da0bc0 | 2014-07-30 11:52:12 -0700 | [diff] [blame] | 137 | CtsUsageStatsTestCases \ |
Stuart Scott | a132af6 | 2013-11-07 10:30:32 -0800 | [diff] [blame] | 138 | CtsUtilTestCases \ |
| 139 | CtsViewTestCases \ |
| 140 | CtsWebkitTestCases \ |
Eric Penner | f0a43ae | 2014-08-31 14:36:51 -0700 | [diff] [blame] | 141 | CtsWebGLTestCases \ |
Stuart Scott | a132af6 | 2013-11-07 10:30:32 -0800 | [diff] [blame] | 142 | CtsWidgetTestCases |
Brian Muramatsu | 2f8eead | 2010-09-24 14:56:43 -0700 | [diff] [blame] | 143 | |
Brian Muramatsu | 5df641c | 2011-12-28 15:46:57 -0800 | [diff] [blame] | 144 | # All APKs that need to be scanned by the coverage utilities. |
| 145 | CTS_COVERAGE_TEST_CASE_LIST := \ |
Mika Isojärvi | 84e6593 | 2014-09-11 18:11:07 +0300 | [diff] [blame] | 146 | $(cts_support_packages) \ |
| 147 | $(cts_test_packages) |
Brian Muramatsu | 12c8691 | 2011-07-21 17:26:46 -0700 | [diff] [blame] | 148 | |
Brian Muramatsu | 5df641c | 2011-12-28 15:46:57 -0800 | [diff] [blame] | 149 | # Host side only tests |
Brian Muramatsu | be775f5 | 2012-01-10 18:26:00 -0800 | [diff] [blame] | 150 | cts_host_libraries := \ |
Stuart Scott | a132af6 | 2013-11-07 10:30:32 -0800 | [diff] [blame] | 151 | CtsAdbTests \ |
| 152 | CtsAppSecurityTests \ |
Esteban Talavera | b53252a | 2014-09-17 11:56:52 +0100 | [diff] [blame] | 153 | CtsDevicePolicyManagerTestCases \ |
Stuart Scott | 1734c7f | 2014-02-19 17:34:36 -0800 | [diff] [blame] | 154 | CtsHostJank \ |
| 155 | CtsHostUi \ |
Stuart Scott | a132af6 | 2013-11-07 10:30:32 -0800 | [diff] [blame] | 156 | CtsMonkeyTestCases \ |
Chenjie Luo | 42aaa5c | 2014-08-20 18:33:47 -0700 | [diff] [blame] | 157 | CtsThemeHostTestCases \ |
dcashman | 5909bcd | 2014-08-21 15:33:24 -0700 | [diff] [blame] | 158 | CtsSecurityHostTestCases \ |
Stuart Scott | a132af6 | 2013-11-07 10:30:32 -0800 | [diff] [blame] | 159 | CtsUsbTests |
Brian Muramatsu | 5df641c | 2011-12-28 15:46:57 -0800 | [diff] [blame] | 160 | |
| 161 | # Native test executables that need to have associated test XMLs. |
Brian Muramatsu | be775f5 | 2012-01-10 18:26:00 -0800 | [diff] [blame] | 162 | cts_native_exes := \ |
Mika Isojärvi | 84e6593 | 2014-09-11 18:11:07 +0300 | [diff] [blame] | 163 | NativeMediaTest_SL \ |
| 164 | NativeMediaTest_XA \ |
Narayan Kamath | fef4314 | 2014-02-14 13:27:22 +0000 | [diff] [blame] | 165 | |
| 166 | ifeq ($(HOST_OS)-$(HOST_ARCH),$(filter $(HOST_OS)-$(HOST_ARCH),linux-x86 linux-x86_64)) |
| 167 | cts_native_exes += bionic-unit-tests-cts |
| 168 | endif |
Brian Muramatsu | 88d32a8 | 2011-12-02 10:55:12 -0800 | [diff] [blame] | 169 | |
Brett Chabot | 87f4451 | 2012-11-16 16:00:02 -0800 | [diff] [blame] | 170 | cts_ui_tests := \ |
Stuart Scott | a132af6 | 2013-11-07 10:30:32 -0800 | [diff] [blame] | 171 | CtsUiAutomatorTests |
| 172 | |
| 173 | cts_device_jars := \ |
Svetoslav | 12c82d4 | 2013-12-20 12:34:52 -0800 | [diff] [blame] | 174 | CtsDeviceJank \ |
| 175 | CtsPrintInstrument |
| 176 | |
| 177 | cts_device_executables := \ |
| 178 | print-instrument |
Brett Chabot | 87f4451 | 2012-11-16 16:00:02 -0800 | [diff] [blame] | 179 | |
Tsu Chiang Chuang | 06f4c56 | 2014-06-18 09:57:57 -0700 | [diff] [blame] | 180 | cts_target_junit_tests := \ |
| 181 | CtsJdwp |
| 182 | |
Brian Muramatsu | 5df641c | 2011-12-28 15:46:57 -0800 | [diff] [blame] | 183 | # All the files that will end up under the repository/testcases |
| 184 | # directory of the final CTS distribution. |
Brian Muramatsu | be775f5 | 2012-01-10 18:26:00 -0800 | [diff] [blame] | 185 | CTS_TEST_CASES := $(call cts-get-lib-paths,$(cts_host_libraries)) \ |
Stuart Scott | a132af6 | 2013-11-07 10:30:32 -0800 | [diff] [blame] | 186 | $(call cts-get-package-paths,$(cts_test_packages)) \ |
| 187 | $(call cts-get-native-paths,$(cts_native_exes)) \ |
| 188 | $(call cts-get-ui-lib-paths,$(cts_ui_tests)) \ |
Svetoslav | 12c82d4 | 2013-12-20 12:34:52 -0800 | [diff] [blame] | 189 | $(call cts-get-ui-lib-paths,$(cts_device_jars)) \ |
Tsu Chiang Chuang | 06f4c56 | 2014-06-18 09:57:57 -0700 | [diff] [blame] | 190 | $(call cts-get-ui-lib-paths,$(cts_target_junit_tests)) \ |
Svetoslav | 12c82d4 | 2013-12-20 12:34:52 -0800 | [diff] [blame] | 191 | $(call cts-get-executable-paths,$(cts_device_executables)) |
Brian Muramatsu | 88d32a8 | 2011-12-02 10:55:12 -0800 | [diff] [blame] | 192 | |
Brian Muramatsu | 5df641c | 2011-12-28 15:46:57 -0800 | [diff] [blame] | 193 | # All the XMLs that will end up under the repository/testcases |
| 194 | # and that need to be created before making the final CTS distribution. |
Brian Muramatsu | be775f5 | 2012-01-10 18:26:00 -0800 | [diff] [blame] | 195 | CTS_TEST_XMLS := $(call cts-get-test-xmls,$(cts_host_libraries)) \ |
Stuart Scott | a132af6 | 2013-11-07 10:30:32 -0800 | [diff] [blame] | 196 | $(call cts-get-test-xmls,$(cts_test_packages)) \ |
| 197 | $(call cts-get-test-xmls,$(cts_native_exes)) \ |
Tsu Chiang Chuang | 06f4c56 | 2014-06-18 09:57:57 -0700 | [diff] [blame] | 198 | $(call cts-get-test-xmls,$(cts_target_junit_tests)) \ |
Mika Isojärvi | 84e6593 | 2014-09-11 18:11:07 +0300 | [diff] [blame] | 199 | $(call cts-get-test-xmls,$(cts_ui_tests)) \ |
| 200 | external/deqp/android/cts/com.drawelements.deqp.gles3.xml \ |
| 201 | external/deqp/android/cts/com.drawelements.deqp.gles31.xml |
Brett Chabot | 87f4451 | 2012-11-16 16:00:02 -0800 | [diff] [blame] | 202 | |
Brian Muramatsu | 12c8691 | 2011-07-21 17:26:46 -0700 | [diff] [blame] | 203 | # The following files will be placed in the tools directory of the CTS distribution |
Narayan Kamath | fef4314 | 2014-02-14 13:27:22 +0000 | [diff] [blame] | 204 | CTS_TOOLS_LIST := |