Julian Hall | 2feec56 | 2022-09-07 09:22:45 +0100 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
| 2 | # Copyright (c) 2022, Arm Limited and Contributors. All rights reserved. |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | # Test for drivers reused from edk2-platforms |
| 7 | #------------------------------------------------------------------------------- |
| 8 | |
| 9 | #------------------------------------------------------------------------------- |
| 10 | # Components-under-test and test cases edk2 platform tests. |
| 11 | # |
| 12 | #------------------------------------------------------------------------------- |
| 13 | add_components(TARGET "env-test" |
| 14 | BASE_DIR ${TS_ROOT} |
| 15 | COMPONENTS |
| 16 | "components/config/test/sp" |
| 17 | ) |
| 18 | |
| 19 | target_sources(env-test PRIVATE |
| 20 | ${CMAKE_CURRENT_LIST_DIR}/registration/edk2_platform_tests.c |
| 21 | ) |
| 22 | |
| 23 | #------------------------------------------------------------------------------- |
| 24 | # This test suite depends on platform specific drivers |
| 25 | # |
| 26 | #------------------------------------------------------------------------------- |
| 27 | add_platform(TARGET "env-test") |