diff options
author | Sarah Blades <sarah.blades@arm.com> | 2022-10-03 16:38:23 +0100 |
---|---|---|
committer | Sarah Blades <sarah.blades@arm.com> | 2022-10-03 17:17:45 +0100 |
commit | 0048144db8c29822ccb1e1a95ef9a1c9dca154b0 (patch) | |
tree | b59ff1e556a7d7ac29de62504857aa500f584a54 /scripts/cmake/common_user_options.cmake | |
parent | 8b0455c06a91da33a9a3714c2a5d2e1062048845 (diff) | |
download | ml-embedded-evaluation-kit-0048144db8c29822ccb1e1a95ef9a1c9dca154b0.tar.gz |
MLECO-3149: Add CTest driven FVP runs for non-native targets.
Additional CMake configuration parameters required:
* `BUILD_FVP_TESTS`: Selects whether these tests are built, OFF by default.
* `FVP_PATH`: Path to the FVP that MUST be provided for the configuration to succeed.
Change-Id: I741379cd0a6078a3e2c3163e6b253b2f5dc25c58
Signed-off-by: Sarah Blades <sarah.blades@arm.com>
Diffstat (limited to 'scripts/cmake/common_user_options.cmake')
-rw-r--r-- | scripts/cmake/common_user_options.cmake | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/cmake/common_user_options.cmake b/scripts/cmake/common_user_options.cmake index 7a0b068..008d8f0 100644 --- a/scripts/cmake/common_user_options.cmake +++ b/scripts/cmake/common_user_options.cmake @@ -150,5 +150,16 @@ if (NOT TARGET_PLATFORM STREQUAL native) ${DEFAULT_TA_CONFIG_FILE_PATH} FILEPATH) endif() + + USER_OPTION(BUILD_FVP_TESTS "Build tests for CTest driven FVP runs for built applications" + OFF + BOOL) + + if (BUILD_FVP_TESTS) + USER_OPTION(FVP_PATH "Path to FVP for verifying execution" + "" + FILEPATH) + endif() + endif() endif() |