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 := \ |
Brian Muramatsu | 320a7a1 | 2010-07-08 16:37:21 -0700 | [diff] [blame] | 16 | CtsAppAccessData \ |
| 17 | CtsAppWithData \ |
Jeff Sharkey | b5a88dd | 2012-05-07 16:16:49 -0700 | [diff] [blame] | 18 | CtsExternalStorageApp \ |
Brian Muramatsu | 320a7a1 | 2010-07-08 16:37:21 -0700 | [diff] [blame] | 19 | CtsInstrumentationAppDiffCert \ |
| 20 | CtsPermissionDeclareApp \ |
Nick Kralevich | 380058b | 2012-07-27 18:34:02 -0700 | [diff] [blame] | 21 | CtsPermissionDeclareAppCompat \ |
Jeff Sharkey | 85fb765 | 2013-10-02 11:15:47 -0700 | [diff] [blame] | 22 | CtsReadExternalStorageApp \ |
Brian Muramatsu | 320a7a1 | 2010-07-08 16:37:21 -0700 | [diff] [blame] | 23 | CtsSharedUidInstall \ |
| 24 | CtsSharedUidInstallDiffCert \ |
| 25 | CtsSimpleAppInstall \ |
| 26 | CtsSimpleAppInstallDiffCert \ |
| 27 | CtsTargetInstrumentationApp \ |
Jeff Sharkey | b5a88dd | 2012-05-07 16:16:49 -0700 | [diff] [blame] | 28 | CtsUsePermissionDiffCert \ |
Jeff Sharkey | 429cd4e | 2012-10-11 17:18:31 -0700 | [diff] [blame] | 29 | CtsWriteExternalStorageApp \ |
| 30 | CtsMultiUserStorageApp |
Brian Muramatsu | 320a7a1 | 2010-07-08 16:37:21 -0700 | [diff] [blame] | 31 | |
Brian Muramatsu | be775f5 | 2012-01-10 18:26:00 -0800 | [diff] [blame] | 32 | cts_support_packages := \ |
Stuart Scott | a132af6 | 2013-11-07 10:30:32 -0800 | [diff] [blame] | 33 | CtsDeviceOpenGl \ |
| 34 | CtsDeviceTaskswitchingAppA \ |
| 35 | CtsDeviceTaskswitchingAppB \ |
| 36 | CtsDeviceTaskswitchingControl \ |
| 37 | CtsDeviceUi \ |
| 38 | CtsAccelerationTestStubs \ |
| 39 | CtsDeviceAdmin \ |
| 40 | CtsMonkeyApp \ |
| 41 | CtsMonkeyApp2 \ |
| 42 | CtsSomeAccessibilityServices \ |
| 43 | CtsTestStubs \ |
| 44 | SignatureTest \ |
| 45 | TestDeviceSetup \ |
| 46 | CtsUiAutomatorApp \ |
| 47 | CtsUsbSerialTestApp \ |
| 48 | $(cts_security_apps_list) |
Brian Muramatsu | be775f5 | 2012-01-10 18:26:00 -0800 | [diff] [blame] | 49 | |
| 50 | cts_external_packages := \ |
Brian Muramatsu | 1930a2e | 2012-01-23 10:36:13 -0800 | [diff] [blame] | 51 | com.replica.replicaisland |
Brian Muramatsu | be775f5 | 2012-01-10 18:26:00 -0800 | [diff] [blame] | 52 | |
| 53 | # Any APKs that need to be copied to the CTS distribution's testcases |
| 54 | # directory but do not require an associated test package XML. |
| 55 | CTS_TEST_CASE_LIST := \ |
| 56 | $(cts_support_packages) \ |
| 57 | $(cts_external_packages) |
Brian Muramatsu | 5df641c | 2011-12-28 15:46:57 -0800 | [diff] [blame] | 58 | |
| 59 | # Test packages that require an associated test package XML. |
Brian Muramatsu | be775f5 | 2012-01-10 18:26:00 -0800 | [diff] [blame] | 60 | cts_test_packages := \ |
Stuart Scott | a132af6 | 2013-11-07 10:30:32 -0800 | [diff] [blame] | 61 | CtsDeviceFilePerf \ |
| 62 | CtsDeviceUi \ |
| 63 | CtsDeviceDram \ |
| 64 | CtsDeviceSimpleCpu \ |
| 65 | CtsDeviceBrowserBench \ |
| 66 | CtsDeviceVideoPerf \ |
| 67 | CtsDeviceOpenGl \ |
| 68 | CtsAccelerationTestCases \ |
| 69 | CtsAccountManagerTestCases \ |
| 70 | CtsAccessibilityServiceTestCases \ |
| 71 | CtsAccessibilityTestCases \ |
| 72 | CtsAdminTestCases \ |
| 73 | CtsAnimationTestCases \ |
| 74 | CtsAppTestCases \ |
| 75 | CtsBluetoothTestCases \ |
| 76 | CtsCalendarcommon2TestCases \ |
| 77 | CtsContentTestCases \ |
| 78 | CtsDatabaseTestCases \ |
| 79 | CtsDisplayTestCases \ |
| 80 | CtsDpiTestCases \ |
| 81 | CtsDpiTestCases2 \ |
| 82 | CtsDreamsTestCases \ |
| 83 | CtsDrmTestCases \ |
| 84 | CtsEffectTestCases \ |
| 85 | CtsExampleTestCases \ |
| 86 | CtsGestureTestCases \ |
| 87 | CtsGraphicsTestCases \ |
| 88 | CtsGraphics2TestCases \ |
| 89 | CtsHardwareTestCases \ |
| 90 | CtsHoloTestCases \ |
| 91 | CtsJniTestCases \ |
| 92 | CtsKeystoreTestCases \ |
| 93 | CtsLocationTestCases \ |
| 94 | CtsMediaStressTestCases \ |
| 95 | CtsMediaTestCases \ |
| 96 | CtsNativeOpenGLTestCases \ |
| 97 | CtsNdefTestCases \ |
| 98 | CtsNetTestCases \ |
| 99 | CtsOpenGLTestCases \ |
| 100 | CtsOpenGlPerfTestCases \ |
| 101 | CtsOsTestCases \ |
| 102 | CtsPermissionTestCases \ |
| 103 | CtsPermission2TestCases \ |
| 104 | CtsPreferenceTestCases \ |
| 105 | CtsPreference2TestCases \ |
| 106 | CtsProviderTestCases \ |
| 107 | CtsRenderscriptTestCases \ |
| 108 | CtsRenderscriptGraphicsTestCases \ |
| 109 | CtsRsCppTestCases \ |
| 110 | CtsSaxTestCases \ |
| 111 | CtsSecurityTestCases \ |
| 112 | CtsSpeechTestCases \ |
| 113 | CtsTelephonyTestCases \ |
| 114 | CtsTextTestCases \ |
| 115 | CtsTextureViewTestCases \ |
| 116 | CtsThemeTestCases \ |
| 117 | CtsUtilTestCases \ |
| 118 | CtsViewTestCases \ |
| 119 | CtsWebkitTestCases \ |
| 120 | CtsWidgetTestCases |
Brian Muramatsu | 2f8eead | 2010-09-24 14:56:43 -0700 | [diff] [blame] | 121 | |
Brian Muramatsu | 5df641c | 2011-12-28 15:46:57 -0800 | [diff] [blame] | 122 | # All APKs that need to be scanned by the coverage utilities. |
| 123 | CTS_COVERAGE_TEST_CASE_LIST := \ |
Brian Muramatsu | be775f5 | 2012-01-10 18:26:00 -0800 | [diff] [blame] | 124 | $(cts_support_packages) \ |
| 125 | $(cts_test_packages) |
Brian Muramatsu | 12c8691 | 2011-07-21 17:26:46 -0700 | [diff] [blame] | 126 | |
Geremy Condra | c957189 | 2012-03-05 12:32:24 -0800 | [diff] [blame] | 127 | |
Brian Muramatsu | 5df641c | 2011-12-28 15:46:57 -0800 | [diff] [blame] | 128 | # Host side only tests |
Brian Muramatsu | be775f5 | 2012-01-10 18:26:00 -0800 | [diff] [blame] | 129 | cts_host_libraries := \ |
Stuart Scott | a132af6 | 2013-11-07 10:30:32 -0800 | [diff] [blame] | 130 | CtsHostUi \ |
| 131 | CtsHostJank \ |
| 132 | CtsAdbTests \ |
| 133 | CtsAppSecurityTests \ |
| 134 | CtsMonkeyTestCases \ |
| 135 | CtsUsbTests |
Brian Muramatsu | 5df641c | 2011-12-28 15:46:57 -0800 | [diff] [blame] | 136 | |
keunyoung | c767cba | 2013-04-03 14:50:58 -0700 | [diff] [blame] | 137 | |
Brian Muramatsu | 5df641c | 2011-12-28 15:46:57 -0800 | [diff] [blame] | 138 | # Native test executables that need to have associated test XMLs. |
Brian Muramatsu | be775f5 | 2012-01-10 18:26:00 -0800 | [diff] [blame] | 139 | cts_native_exes := \ |
Brian Muramatsu | 9c292f9 | 2011-12-14 14:53:22 -0800 | [diff] [blame] | 140 | NativeMediaTest_SL \ |
Christopher Ferris | 60df272 | 2013-08-27 14:52:00 -0700 | [diff] [blame] | 141 | NativeMediaTest_XA \ |
Narayan Kamath | fef4314 | 2014-02-14 13:27:22 +0000 | [diff] [blame] | 142 | |
| 143 | ifeq ($(HOST_OS)-$(HOST_ARCH),$(filter $(HOST_OS)-$(HOST_ARCH),linux-x86 linux-x86_64)) |
| 144 | cts_native_exes += bionic-unit-tests-cts |
| 145 | endif |
Brian Muramatsu | 88d32a8 | 2011-12-02 10:55:12 -0800 | [diff] [blame] | 146 | |
Brett Chabot | 87f4451 | 2012-11-16 16:00:02 -0800 | [diff] [blame] | 147 | cts_ui_tests := \ |
Stuart Scott | a132af6 | 2013-11-07 10:30:32 -0800 | [diff] [blame] | 148 | CtsUiAutomatorTests |
| 149 | |
| 150 | cts_device_jars := \ |
| 151 | CtsDeviceJank |
Brett Chabot | 87f4451 | 2012-11-16 16:00:02 -0800 | [diff] [blame] | 152 | |
Brian Muramatsu | 5df641c | 2011-12-28 15:46:57 -0800 | [diff] [blame] | 153 | # All the files that will end up under the repository/testcases |
| 154 | # directory of the final CTS distribution. |
Brian Muramatsu | be775f5 | 2012-01-10 18:26:00 -0800 | [diff] [blame] | 155 | CTS_TEST_CASES := $(call cts-get-lib-paths,$(cts_host_libraries)) \ |
Stuart Scott | a132af6 | 2013-11-07 10:30:32 -0800 | [diff] [blame] | 156 | $(call cts-get-package-paths,$(cts_test_packages)) \ |
| 157 | $(call cts-get-native-paths,$(cts_native_exes)) \ |
| 158 | $(call cts-get-ui-lib-paths,$(cts_ui_tests)) \ |
| 159 | $(call cts-get-ui-lib-paths,$(cts_device_jars)) |
Brian Muramatsu | 88d32a8 | 2011-12-02 10:55:12 -0800 | [diff] [blame] | 160 | |
Brian Muramatsu | 5df641c | 2011-12-28 15:46:57 -0800 | [diff] [blame] | 161 | # All the XMLs that will end up under the repository/testcases |
| 162 | # and that need to be created before making the final CTS distribution. |
Brian Muramatsu | be775f5 | 2012-01-10 18:26:00 -0800 | [diff] [blame] | 163 | CTS_TEST_XMLS := $(call cts-get-test-xmls,$(cts_host_libraries)) \ |
Stuart Scott | a132af6 | 2013-11-07 10:30:32 -0800 | [diff] [blame] | 164 | $(call cts-get-test-xmls,$(cts_test_packages)) \ |
| 165 | $(call cts-get-test-xmls,$(cts_native_exes)) \ |
| 166 | $(call cts-get-test-xmls,$(cts_ui_tests)) |
Brett Chabot | 87f4451 | 2012-11-16 16:00:02 -0800 | [diff] [blame] | 167 | |
Brian Muramatsu | 88d32a8 | 2011-12-02 10:55:12 -0800 | [diff] [blame] | 168 | |
Brian Muramatsu | 12c8691 | 2011-07-21 17:26:46 -0700 | [diff] [blame] | 169 | # 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] | 170 | CTS_TOOLS_LIST := |