Home | History | Annotate | Download | only in cts
      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 	CtsExternalStorageApp \
     19 	CtsInstrumentationAppDiffCert \
     20 	CtsPermissionDeclareApp \
     21 	CtsPermissionDeclareAppCompat \
     22 	CtsReadExternalStorageApp \
     23 	CtsSharedUidInstall \
     24 	CtsSharedUidInstallDiffCert \
     25 	CtsSimpleAppInstall \
     26 	CtsSimpleAppInstallDiffCert \
     27 	CtsTargetInstrumentationApp \
     28 	CtsUsePermissionDiffCert \
     29 	CtsWriteExternalStorageApp \
     30 	CtsMultiUserStorageApp
     31 
     32 cts_support_packages := \
     33 	$(PTS_SUPPORT_PACKAGES) \
     34 	CtsAccelerationTestStubs \
     35 	CtsDeviceAdmin \
     36 	CtsMonkeyApp \
     37 	CtsMonkeyApp2 \
     38 	CtsSomeAccessibilityServices \
     39 	CtsTestStubs \
     40 	SignatureTest \
     41 	TestDeviceSetup \
     42 	CtsUiAutomatorApp \
     43 	CtsUsbSerialTestApp \
     44 	$(cts_security_apps_list)
     45 
     46 cts_external_packages := \
     47 	com.replica.replicaisland
     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)
     54 
     55 # Test packages that require an associated test package XML.
     56 cts_test_packages := \
     57 	$(PTS_TEST_PACKAGES) \
     58 	CtsAccelerationTestCases \
     59 	CtsAccountManagerTestCases \
     60 	CtsAccessibilityServiceTestCases \
     61 	CtsAccessibilityTestCases \
     62 	CtsAdminTestCases \
     63 	CtsAnimationTestCases \
     64 	CtsAppTestCases \
     65 	CtsBluetoothTestCases \
     66 	CtsCalendarcommon2TestCases \
     67 	CtsContentTestCases \
     68 	CtsDatabaseTestCases \
     69 	CtsDisplayTestCases \
     70 	CtsDpiTestCases \
     71 	CtsDpiTestCases2 \
     72 	CtsDreamsTestCases \
     73 	CtsDrmTestCases \
     74 	CtsEffectTestCases \
     75 	CtsExampleTestCases \
     76 	CtsGestureTestCases \
     77 	CtsGraphicsTestCases \
     78 	CtsGraphics2TestCases \
     79 	CtsHardwareTestCases \
     80 	CtsHoloTestCases \
     81 	CtsJniTestCases \
     82 	CtsKeystoreTestCases \
     83 	CtsLocationTestCases \
     84 	CtsMediaStressTestCases \
     85 	CtsMediaTestCases \
     86 	CtsNativeOpenGLTestCases \
     87 	CtsNdefTestCases \
     88 	CtsNetTestCases \
     89 	CtsOpenGLTestCases \
     90 	CtsOpenGlPerfTestCases \
     91 	CtsOsTestCases \
     92 	CtsPermissionTestCases \
     93 	CtsPermission2TestCases \
     94 	CtsPreferenceTestCases \
     95 	CtsPreference2TestCases \
     96 	CtsProviderTestCases \
     97 	CtsRenderscriptTestCases \
     98 	CtsRenderscriptGraphicsTestCases \
     99 	CtsRsCppTestCases \
    100 	CtsSaxTestCases \
    101 	CtsSecurityTestCases \
    102 	CtsSpeechTestCases \
    103 	CtsTelephonyTestCases \
    104 	CtsTextTestCases \
    105 	CtsTextureViewTestCases \
    106 	CtsThemeTestCases \
    107 	CtsUtilTestCases \
    108 	CtsViewTestCases \
    109 	CtsWebkitTestCases \
    110 	CtsWidgetTestCases
    111 
    112 # All APKs that need to be scanned by the coverage utilities.
    113 CTS_COVERAGE_TEST_CASE_LIST := \
    114 	$(cts_support_packages) \
    115 	$(cts_test_packages)
    116 
    117 
    118 # Host side only tests
    119 cts_host_libraries := \
    120 	$(PTS_HOST_CASES) \
    121 	CtsAdbTests \
    122 	CtsAppSecurityTests \
    123 	CtsMonkeyTestCases \
    124 	CtsUsbTests
    125 
    126 
    127 # Native test executables that need to have associated test XMLs.
    128 cts_native_exes := \
    129 	NativeMediaTest_SL \
    130 	NativeMediaTest_XA \
    131 	bionic-unit-tests-cts \
    132 
    133 cts_ui_tests := \
    134 	CtsUiAutomatorTests
    135 
    136 # All the files that will end up under the repository/testcases
    137 # directory of the final CTS distribution.
    138 CTS_TEST_CASES := $(call cts-get-lib-paths,$(cts_host_libraries)) \
    139 		$(call cts-get-package-paths,$(cts_test_packages)) \
    140 		$(call cts-get-native-paths,$(cts_native_exes)) \
    141 		$(call cts-get-ui-lib-paths,$(cts_ui_tests)) \
    142 		$(call cts-get-ui-lib-paths,$(pts_device_lib_tests))
    143 
    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.
    146 CTS_TEST_XMLS := $(call cts-get-test-xmls,$(cts_host_libraries)) \
    147 		$(call cts-get-test-xmls,$(cts_test_packages)) \
    148 		$(call cts-get-test-xmls,$(cts_native_exes)) \
    149 		$(call cts-get-test-xmls,$(cts_ui_tests))
    150 
    151 
    152 # The following files will be placed in the tools directory of the CTS distribution
    153 CTS_TOOLS_LIST :=
    154