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