| # Copyright (C) 2018 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 projects with optional hosttests and unittests to run for |
| # those projects in the following format: |
| # [ |
| # # Add projects to, or remove projects from, list of projects to build. |
| # # Does not affect builds where the project list is passed on the command |
| # # line. |
| # build( |
| # # List of projects that this build entry applies to. Required. |
| # projects=[ |
| # "<project>", |
| # ... |
| # ] |
| # # If enabled is set to True or ommitted, add projects to list of |
| # # projects to build. If enabled is set to False, remove projects from |
| # # list of projects to build. |
| # enabled=<True|False> |
| # ), |
| # ... |
| # # Specify tests to run for specific projects. |
| # testmap( |
| # # List of projects that this testmap entry applies to. Required. |
| # projects=[ |
| # "<project>", |
| # ... |
| # ] |
| # # List of host-tests to run (on the host). Optional. |
| # host_tests=[ |
| # "<host_test>", |
| # ... |
| # ], |
| # # List of unit-tests to run (under qemu). Optional. |
| # unit_tests=[ |
| # "<unit_test>", |
| # ... |
| # ], |
| # ), |
| # ... |
| # # Include another configuration file. If optional is True, and the file |
| # # does not exist, the include statement is ignored. |
| # include(<file>, optional=<True|False>), |
| # ] |
| |
| [ |
| build( |
| projects=[ |
| "generic-arm32-debug", |
| "generic-arm32", |
| "generic-arm32-test-debug", |
| "generic-arm32-test", |
| "generic-arm64-debug", |
| "generic-arm64", |
| "generic-arm64-test-debug", |
| "generic-arm64-test", |
| "generic-x86_64", |
| "vexpress-a15-trusty", |
| "imx7d", |
| "pico7d", |
| "sdb7d", |
| ], |
| ), |
| testmap( |
| projects=[ |
| "generic-arm64", |
| ], |
| host_tests=[ |
| "storage_test", |
| "mock_storage_test", |
| ], |
| ), |
| testmap( |
| projects=[ |
| "imx7d", |
| ], |
| host_tests=[ |
| "avb_test", |
| "keymaster_test", |
| ], |
| ), |
| include("../../proprietary/scripts/build-config", optional=True), |
| testmap( |
| projects=[ |
| # The projects below are not currently build-able with only aosp |
| # files but we list them here so we can add unittests to the list |
| # and test them before they are checked in. |
| "qemu-generic-arm32-test-debug", |
| "qemu-generic-arm64-test-debug", |
| "qemu-generic-arm64u32-test-debug", |
| ], |
| unit_tests=[ |
| "com.android.kernel.smp-unittest", |
| "com.android.kernel.usercopy-unittest", |
| "com.android.timer-unittest", |
| "com.android.ipc-unittest.ctrl", |
| "com.android.keymaster-unittest", |
| "com.android.storage-unittest.tp.init", |
| "com.android.storage-unittest.tp.check", |
| "com.android.storage-unittest.tp.clean", |
| "com.android.storage-unittest.tp", |
| ] |
| ), |
| ] |