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 := \ |
Keun young Park | d93d0d1 | 2013-01-10 14:11:35 -0800 | [diff] [blame] | 33 | $(PTS_SUPPORT_PACKAGES) \ |
Brian Muramatsu | e669e04 | 2011-09-01 15:10:54 -0700 | [diff] [blame] | 34 | CtsAccelerationTestStubs \ |
Brian Muramatsu | 5df641c | 2011-12-28 15:46:57 -0800 | [diff] [blame] | 35 | CtsDeviceAdmin \ |
Brian Muramatsu | 1b15fd3 | 2012-02-01 18:30:43 -0800 | [diff] [blame] | 36 | CtsMonkeyApp \ |
Brian Muramatsu | a78e3ec | 2012-02-06 15:28:25 -0800 | [diff] [blame] | 37 | CtsMonkeyApp2 \ |
Svetoslav Ganov | b803f80 | 2012-03-07 19:13:05 -0800 | [diff] [blame] | 38 | CtsSomeAccessibilityServices \ |
Brian Muramatsu | 5df641c | 2011-12-28 15:46:57 -0800 | [diff] [blame] | 39 | CtsTestStubs \ |
| 40 | SignatureTest \ |
Brian Muramatsu | be775f5 | 2012-01-10 18:26:00 -0800 | [diff] [blame] | 41 | TestDeviceSetup \ |
Keun young Park | d93d0d1 | 2013-01-10 14:11:35 -0800 | [diff] [blame] | 42 | CtsUiAutomatorApp \ |
keunyoung | b04de8f | 2013-08-20 17:11:12 -0700 | [diff] [blame] | 43 | CtsUsbSerialTestApp \ |
Brian Muramatsu | be775f5 | 2012-01-10 18:26:00 -0800 | [diff] [blame] | 44 | $(cts_security_apps_list) |
| 45 | |
| 46 | cts_external_packages := \ |
Brian Muramatsu | 1930a2e | 2012-01-23 10:36:13 -0800 | [diff] [blame] | 47 | com.replica.replicaisland |
Brian Muramatsu | be775f5 | 2012-01-10 18:26:00 -0800 | [diff] [blame] | 48 | |
| 49 | # Any APKs that need to be copied to the CTS distribution's testcases |
| 50 | # directory but do not require an associated test package XML. |
| 51 | CTS_TEST_CASE_LIST := \ |
| 52 | $(cts_support_packages) \ |
| 53 | $(cts_external_packages) |
Brian Muramatsu | 5df641c | 2011-12-28 15:46:57 -0800 | [diff] [blame] | 54 | |
| 55 | # Test packages that require an associated test package XML. |
Brian Muramatsu | be775f5 | 2012-01-10 18:26:00 -0800 | [diff] [blame] | 56 | cts_test_packages := \ |
Keun young Park | d93d0d1 | 2013-01-10 14:11:35 -0800 | [diff] [blame] | 57 | $(PTS_TEST_PACKAGES) \ |
Brian Muramatsu | 5df641c | 2011-12-28 15:46:57 -0800 | [diff] [blame] | 58 | CtsAccelerationTestCases \ |
Brian Muramatsu | 320a7a1 | 2010-07-08 16:37:21 -0700 | [diff] [blame] | 59 | CtsAccountManagerTestCases \ |
Svetoslav Ganov | b803f80 | 2012-03-07 19:13:05 -0800 | [diff] [blame] | 60 | CtsAccessibilityServiceTestCases \ |
| 61 | CtsAccessibilityTestCases \ |
Brian Muramatsu | 714433d | 2011-06-17 10:27:10 -0700 | [diff] [blame] | 62 | CtsAdminTestCases \ |
Rajdeep Dua | 5a8eb1b | 2011-12-08 08:46:05 +0530 | [diff] [blame] | 63 | CtsAnimationTestCases \ |
Brian Muramatsu | 320a7a1 | 2010-07-08 16:37:21 -0700 | [diff] [blame] | 64 | CtsAppTestCases \ |
| 65 | CtsBluetoothTestCases \ |
Sam Blitzstein | 207bd1e | 2012-10-19 18:00:36 -0700 | [diff] [blame] | 66 | CtsCalendarcommon2TestCases \ |
Brian Muramatsu | 320a7a1 | 2010-07-08 16:37:21 -0700 | [diff] [blame] | 67 | CtsContentTestCases \ |
| 68 | CtsDatabaseTestCases \ |
Craig Mautner | a8e522f | 2012-10-22 11:46:30 -0700 | [diff] [blame] | 69 | CtsDisplayTestCases \ |
Brian Muramatsu | 320a7a1 | 2010-07-08 16:37:21 -0700 | [diff] [blame] | 70 | CtsDpiTestCases \ |
| 71 | CtsDpiTestCases2 \ |
John Spurlock | 39332f8 | 2012-12-04 09:21:50 -0500 | [diff] [blame] | 72 | CtsDreamsTestCases \ |
Brian Muramatsu | a1c545d | 2011-02-15 11:47:16 -0800 | [diff] [blame] | 73 | CtsDrmTestCases \ |
Brian Muramatsu | b287ea0 | 2011-12-19 14:22:25 -0800 | [diff] [blame] | 74 | CtsEffectTestCases \ |
Brian Muramatsu | 320a7a1 | 2010-07-08 16:37:21 -0700 | [diff] [blame] | 75 | CtsExampleTestCases \ |
| 76 | CtsGestureTestCases \ |
| 77 | CtsGraphicsTestCases \ |
Keun young Park | 2b21cd1 | 2012-02-08 10:28:16 -0800 | [diff] [blame] | 78 | CtsGraphics2TestCases \ |
Brian Muramatsu | 320a7a1 | 2010-07-08 16:37:21 -0700 | [diff] [blame] | 79 | CtsHardwareTestCases \ |
Brian Muramatsu | e8c0166 | 2011-11-08 12:17:11 -0800 | [diff] [blame] | 80 | CtsHoloTestCases \ |
Brian Muramatsu | 320a7a1 | 2010-07-08 16:37:21 -0700 | [diff] [blame] | 81 | CtsJniTestCases \ |
Kenny Root | f32bcbc | 2013-05-10 15:51:58 -0700 | [diff] [blame] | 82 | CtsKeystoreTestCases \ |
Brian Muramatsu | 320a7a1 | 2010-07-08 16:37:21 -0700 | [diff] [blame] | 83 | CtsLocationTestCases \ |
Keun young Park | 81687a3 | 2011-12-06 12:17:55 -0800 | [diff] [blame] | 84 | CtsMediaStressTestCases \ |
Brian Muramatsu | 320a7a1 | 2010-07-08 16:37:21 -0700 | [diff] [blame] | 85 | CtsMediaTestCases \ |
Thomas Tafertshofer | b5385a6 | 2012-08-15 15:40:45 -0700 | [diff] [blame] | 86 | CtsNativeOpenGLTestCases \ |
Nick Pelly | 4265965 | 2011-02-18 16:06:30 -0800 | [diff] [blame] | 87 | CtsNdefTestCases \ |
Brian Muramatsu | 18dae33 | 2011-10-10 14:44:32 -0700 | [diff] [blame] | 88 | CtsNetTestCases \ |
Rajdeep Dua | bf365d0 | 2012-03-30 16:26:45 +0530 | [diff] [blame] | 89 | CtsOpenGLTestCases \ |
Keun young Park | bb7869a | 2011-12-29 16:17:16 -0800 | [diff] [blame] | 90 | CtsOpenGlPerfTestCases \ |
Brian Muramatsu | 320a7a1 | 2010-07-08 16:37:21 -0700 | [diff] [blame] | 91 | CtsOsTestCases \ |
| 92 | CtsPermissionTestCases \ |
| 93 | CtsPermission2TestCases \ |
Brian Muramatsu | 6d3c3bd | 2010-12-03 12:15:30 -0800 | [diff] [blame] | 94 | CtsPreferenceTestCases \ |
Rajdeep Dua | 5dc8ba1 | 2012-01-30 15:22:40 +0530 | [diff] [blame] | 95 | CtsPreference2TestCases \ |
Brian Muramatsu | 320a7a1 | 2010-07-08 16:37:21 -0700 | [diff] [blame] | 96 | CtsProviderTestCases \ |
Stephen Hines | 4aeee06 | 2011-02-24 18:30:30 -0800 | [diff] [blame] | 97 | CtsRenderscriptTestCases \ |
Tim Murray | fc78807 | 2013-08-07 16:43:18 -0700 | [diff] [blame] | 98 | CtsRenderscriptGraphicsTestCases \ |
| 99 | CtsRsCppTestCases \ |
Brian Muramatsu | e591e52 | 2010-04-26 16:50:50 -0700 | [diff] [blame] | 100 | CtsSaxTestCases \ |
Brian Muramatsu | 8c86a01 | 2011-05-03 12:49:56 -0700 | [diff] [blame] | 101 | CtsSecurityTestCases \ |
Brian Muramatsu | 320a7a1 | 2010-07-08 16:37:21 -0700 | [diff] [blame] | 102 | CtsSpeechTestCases \ |
| 103 | CtsTelephonyTestCases \ |
| 104 | CtsTextTestCases \ |
Daniel Sievers | 395497b | 2012-03-01 19:02:53 -0800 | [diff] [blame] | 105 | CtsTextureViewTestCases \ |
Brian Muramatsu | e9b95a8 | 2012-01-06 11:19:59 -0800 | [diff] [blame] | 106 | CtsThemeTestCases \ |
Brian Muramatsu | 320a7a1 | 2010-07-08 16:37:21 -0700 | [diff] [blame] | 107 | CtsUtilTestCases \ |
| 108 | CtsViewTestCases \ |
| 109 | CtsWebkitTestCases \ |
Brian Muramatsu | 18dae33 | 2011-10-10 14:44:32 -0700 | [diff] [blame] | 110 | CtsWidgetTestCases |
Brian Muramatsu | 2f8eead | 2010-09-24 14:56:43 -0700 | [diff] [blame] | 111 | |
Brian Muramatsu | 5df641c | 2011-12-28 15:46:57 -0800 | [diff] [blame] | 112 | # All APKs that need to be scanned by the coverage utilities. |
| 113 | CTS_COVERAGE_TEST_CASE_LIST := \ |
Brian Muramatsu | be775f5 | 2012-01-10 18:26:00 -0800 | [diff] [blame] | 114 | $(cts_support_packages) \ |
| 115 | $(cts_test_packages) |
Brian Muramatsu | 12c8691 | 2011-07-21 17:26:46 -0700 | [diff] [blame] | 116 | |
Geremy Condra | c957189 | 2012-03-05 12:32:24 -0800 | [diff] [blame] | 117 | |
Brian Muramatsu | 5df641c | 2011-12-28 15:46:57 -0800 | [diff] [blame] | 118 | # Host side only tests |
Brian Muramatsu | be775f5 | 2012-01-10 18:26:00 -0800 | [diff] [blame] | 119 | cts_host_libraries := \ |
Keun young Park | d93d0d1 | 2013-01-10 14:11:35 -0800 | [diff] [blame] | 120 | $(PTS_HOST_CASES) \ |
keunyoung | c767cba | 2013-04-03 14:50:58 -0700 | [diff] [blame] | 121 | CtsAdbTests \ |
Brian Muramatsu | 1b15fd3 | 2012-02-01 18:30:43 -0800 | [diff] [blame] | 122 | CtsAppSecurityTests \ |
keunyoung | b04de8f | 2013-08-20 17:11:12 -0700 | [diff] [blame] | 123 | CtsMonkeyTestCases \ |
| 124 | CtsUsbTests |
Brian Muramatsu | 5df641c | 2011-12-28 15:46:57 -0800 | [diff] [blame] | 125 | |
keunyoung | c767cba | 2013-04-03 14:50:58 -0700 | [diff] [blame] | 126 | |
Brian Muramatsu | 5df641c | 2011-12-28 15:46:57 -0800 | [diff] [blame] | 127 | # Native test executables that need to have associated test XMLs. |
Brian Muramatsu | be775f5 | 2012-01-10 18:26:00 -0800 | [diff] [blame] | 128 | cts_native_exes := \ |
Brian Muramatsu | 9c292f9 | 2011-12-14 14:53:22 -0800 | [diff] [blame] | 129 | NativeMediaTest_SL \ |
Christopher Ferris | 60df272 | 2013-08-27 14:52:00 -0700 | [diff] [blame] | 130 | NativeMediaTest_XA \ |
| 131 | bionic-unit-tests-cts \ |
Brian Muramatsu | 88d32a8 | 2011-12-02 10:55:12 -0800 | [diff] [blame] | 132 | |
Brett Chabot | 87f4451 | 2012-11-16 16:00:02 -0800 | [diff] [blame] | 133 | cts_ui_tests := \ |
Stuart Scott | d4d679f | 2013-06-05 16:08:28 -0700 | [diff] [blame] | 134 | CtsUiAutomatorTests |
Brett Chabot | 87f4451 | 2012-11-16 16:00:02 -0800 | [diff] [blame] | 135 | |
Brian Muramatsu | 5df641c | 2011-12-28 15:46:57 -0800 | [diff] [blame] | 136 | # All the files that will end up under the repository/testcases |
| 137 | # directory of the final CTS distribution. |
Brian Muramatsu | be775f5 | 2012-01-10 18:26:00 -0800 | [diff] [blame] | 138 | CTS_TEST_CASES := $(call cts-get-lib-paths,$(cts_host_libraries)) \ |
| 139 | $(call cts-get-package-paths,$(cts_test_packages)) \ |
Brett Chabot | 87f4451 | 2012-11-16 16:00:02 -0800 | [diff] [blame] | 140 | $(call cts-get-native-paths,$(cts_native_exes)) \ |
Stuart Scott | 5e74e0a | 2013-06-27 19:25:45 -0700 | [diff] [blame] | 141 | $(call cts-get-ui-lib-paths,$(cts_ui_tests)) \ |
| 142 | $(call cts-get-ui-lib-paths,$(pts_device_lib_tests)) |
Brian Muramatsu | 88d32a8 | 2011-12-02 10:55:12 -0800 | [diff] [blame] | 143 | |
Brian Muramatsu | 5df641c | 2011-12-28 15:46:57 -0800 | [diff] [blame] | 144 | # All the XMLs that will end up under the repository/testcases |
| 145 | # and that need to be created before making the final CTS distribution. |
Brian Muramatsu | be775f5 | 2012-01-10 18:26:00 -0800 | [diff] [blame] | 146 | CTS_TEST_XMLS := $(call cts-get-test-xmls,$(cts_host_libraries)) \ |
| 147 | $(call cts-get-test-xmls,$(cts_test_packages)) \ |
Brett Chabot | 87f4451 | 2012-11-16 16:00:02 -0800 | [diff] [blame] | 148 | $(call cts-get-test-xmls,$(cts_native_exes)) \ |
Stuart Scott | 5ad5009 | 2013-06-19 16:08:57 -0700 | [diff] [blame] | 149 | $(call cts-get-test-xmls,$(cts_ui_tests)) |
Brett Chabot | 87f4451 | 2012-11-16 16:00:02 -0800 | [diff] [blame] | 150 | |
Brian Muramatsu | 88d32a8 | 2011-12-02 10:55:12 -0800 | [diff] [blame] | 151 | |
Brian Muramatsu | 12c8691 | 2011-07-21 17:26:46 -0700 | [diff] [blame] | 152 | # 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] | 153 | CTS_TOOLS_LIST := |