1# Copyright (C) 2018 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 projects with optional hosttests and unittests to run for
16# those projects in the following format:
17# [
18#     # Add projects to, or remove projects from, list of projects to build.
19#     # Does not affect builds where the project list is passed on the command
20#     # line.
21#     build(
22#         # List of projects that this build entry applies to. Required.
23#         projects=[
24#             "<project>",
25#             ...
26#         ]
27#         # If enabled is set to True or ommitted, add projects to list of
28#         # projects to build. If enabled is set to False, remove projects from
29#         # list of projects to build.
30#         enabled=<True|False>
31#     ),
32#     ...
33#     # Specify tests to run for specific projects.
34#     testmap(
35#         # List of projects that this testmap entry applies to. Required.
36#         projects=[
37#             "<project>",
38#             ...
39#         ]
40#         # List of host-tests to run. Optional
41#         tests=[
42#             # Run a program on the host
43#             hosttest("some_host_binary"),
44#             # Use test-runner to activate a Trusty IPC port
45#             boottest("port.under.test"),
46#             # Use Android to activate a Trusty IPC port
47#             androidport("port.under.test"),
48#             # Run a shell command inside Android
49#             androidtest(name="test_name", command="command to run"),
50#             ...
51#         ],
52#     ),
53#     ...
54#     # Include another configuration file. If optional is True, and the file
55#     # does not exist, the include statement is ignored.
56#     include(<file>, optional=<True|False>),
57# ]
58
59[
60    build(
61        projects=[
62            "generic-arm32-debug",
63            "generic-arm32",
64            "generic-arm32-test-debug",
65            "generic-arm32-test",
66            "generic-arm32-virt-test-debug",
67            "generic-arm64-debug",
68            "generic-arm64",
69            "generic-arm64-test-debug",
70            "generic-arm64-test",
71            "generic-arm64-virt-test-debug",
72            "generic-x86_64",
73            "generic-x86_64-test",
74            "vexpress-a15-trusty",
75            "imx7d",
76            "pico7d",
77            "qemu-generic-arm32-gicv3-test-debug",
78            "qemu-generic-arm32-test-debug",
79            "qemu-generic-arm64-fuzz-test-debug",
80            "qemu-generic-arm64-gicv3-test-debug",
81            "qemu-generic-arm64-test-debug",
82            "qemu-generic-arm64l32-test-debug",
83            "qemu-generic-arm64u32-test-debug",
84            "qemu-generic-arm64-test-debug-release",
85            "qemu-generic-arm32-test-debug-release",
86            "sdb7d",
87        ],
88    ),
89    devsigningkeys([
90        "trusty/device/arm/generic-arm64/project/keys/apploader_sign_test_private_key_0.der",
91        "trusty/device/arm/generic-arm64/project/keys/apploader_sign_test_public_key_0.der"
92    ]),
93    include("./test-map"),
94    include("../../proprietary/scripts/build-config", optional=True),
95]
96