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     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)
     49 
     50 cts_external_packages := \
     51 	com.replica.replicaisland
     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)
     58 
     59 # Test packages that require an associated test package XML.
     60 cts_test_packages := \
     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
    121 
    122 # All APKs that need to be scanned by the coverage utilities.
    123 CTS_COVERAGE_TEST_CASE_LIST := \
    124 	$(cts_support_packages) \
    125 	$(cts_test_packages)
    126 
    127 
    128 # Host side only tests
    129 cts_host_libraries := \
    130     CtsHostUi \
    131     CtsHostJank \
    132     CtsAdbTests \
    133     CtsAppSecurityTests \
    134     CtsMonkeyTestCases \
    135     CtsUsbTests
    136 
    137 
    138 # Native test executables that need to have associated test XMLs.
    139 cts_native_exes := \
    140 	NativeMediaTest_SL \
    141 	NativeMediaTest_XA \
    142 	bionic-unit-tests-cts \
    143 
    144 cts_ui_tests := \
    145     CtsUiAutomatorTests
    146 
    147 cts_device_jars := \
    148     CtsDeviceJank
    149 
    150 # All the files that will end up under the repository/testcases
    151 # directory of the final CTS distribution.
    152 CTS_TEST_CASES := $(call cts-get-lib-paths,$(cts_host_libraries)) \
    153     $(call cts-get-package-paths,$(cts_test_packages)) \
    154     $(call cts-get-native-paths,$(cts_native_exes)) \
    155     $(call cts-get-ui-lib-paths,$(cts_ui_tests)) \
    156     $(call cts-get-ui-lib-paths,$(cts_device_jars))
    157 
    158 # All the XMLs that will end up under the repository/testcases
    159 # and that need to be created before making the final CTS distribution.
    160 CTS_TEST_XMLS := $(call cts-get-test-xmls,$(cts_host_libraries)) \
    161     $(call cts-get-test-xmls,$(cts_test_packages)) \
    162     $(call cts-get-test-xmls,$(cts_native_exes)) \
    163     $(call cts-get-test-xmls,$(cts_ui_tests))
    164 
    165 
    166 # The following files will be placed in the tools directory of the CTS distribution
    167 CTS_TOOLS_LIST :=