# Copyright (C) 2019 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
#  You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# This file lists kernel tests

[
    include("external/lk/build-config-kerneltests", optional=True),
    include("external/trusty/lk/build-config-kerneltests", optional=True),
    porttest("com.android.kernel.btitest"),
    porttest("com.android.kernel.cachetest"),
    porttest("com.android.kernel.console-unittest"),
    porttest("com.android.kernel.dpc-unittest"),
    porttest("com.android.kernel.iovectest"),
    porttest("com.android.kernel.ktipc.test"),
    porttest("com.android.kernel.libctest"),
    # disabled because libcxx/libcxxabi needs floating point instructions
    # which are not available in the kernel; clang 19 or later errors out.
    # porttest("com.android.kernel.libcxxtest"),
    porttest("com.android.kernel.memorylatency.bench").type(BENCHMARK),
    porttest("com.android.kernel.memorytest"),
    porttest("com.android.kernel.mmutest"),
    porttest("com.android.kernel.pacbench").type(BENCHMARK),
    porttest("com.android.kernel.pactest"),
    porttest("com.android.kernel.smp-unittest").needs(smp4=True),
    porttest("com.android.kernel.uirq-unittest"),
    porttest("com.android.kernel.usercopy-unittest"),
    porttest("com.android.kernel.userscstest"),
]
