1# Copyright (C) 2019 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# This file lists userspace tests 16 17[ 18 include("frameworks/native/libs/binder/trusty/build-config-usertests"), 19 include("trusty/user/app/cast-auth/build-config-usertests"), 20 include("trusty/user/app/keymaster/build-config-usertests"), 21 include("trusty/user/app/keymint/build-config-usertests"), 22 include("trusty/user/app/sample/build-config-usertests"), 23 include("trusty/user/app/secretkeeper/build-config-usertests"), 24 include("trusty/user/app/storage/build-config-usertests"), 25 26 # userspace tests that don't use storage 27 porttest("com.android.ipc-unittest.ctrl"), 28 porttest("com.android.libctest"), 29 porttest("com.android.libcxxtest"), 30 porttest("com.android.trusty.apploader.test"), 31 porttest("com.android.trusty.cfitest"), 32 porttest("com.android.trusty.confirmationui.test"), 33 porttest("com.android.trusty.crashtest"), 34 porttest("com.android.trusty.dlmalloctest"), 35 porttest("com.android.trusty.hwaes.test"), 36 porttest("com.android.trusty.hwbcc.test"), 37 porttest("com.android.trusty.rust.tipc.test"), 38 porttest("com.android.trusty.rust.hwkey.test"), 39 porttest("com.android.trusty.rust.hwbcc.test"), 40 porttest("com.android.trusty.rust.hwwsk.test"), 41 porttest("com.android.trusty.rust.service_manager_tests.test"), 42 porttest("com.android.trusty.rust.storage.test"), 43 porttest("com.android.trusty.rust.diced_open_dice_tests.test"), 44 porttest("com.android.trusty.rust.pvmdice.test"), 45 compositetest( 46 name="com.android.trusty.secure_fb.test-then-reboot", 47 sequence=[ 48 porttest("com.android.trusty.secure_fb.test").needs(android=True), 49 # b/258539281: secure_fb.test generates a warning that taints the 50 # kernel so reboot the emulator before checking if the Linux kernel 51 # is tainted. Once we've resolved the tainting issue, we can remove 52 # this composite test and the reboot to speed up testing. 53 reboot(), 54 ] 55 ), 56 porttest("com.android.trusty.smc.test"), 57 porttest("com.android.uirq-unittest"), 58] 59