diff options
author | Eanna O Cathain <eanna.ocathain@arm.com> | 2022-05-31 14:14:32 +0100 |
---|---|---|
committer | Éanna Ó Catháin <eanna.ocathain@arm.com> | 2022-06-02 12:41:07 +0000 |
commit | 7bc68323242b0892b34bff5cf1e82257b0d75c21 (patch) | |
tree | 82e9a927a279a19e2fb140bebbaf09f7aa9077f4 /CMakeLists.txt | |
parent | 5dd18382a1a109408dd6a9ed0fcc63ff275f2e19 (diff) | |
download | ml-embedded-evaluation-kit-7bc68323242b0892b34bff5cf1e82257b0d75c21.tar.gz |
MLECO-3148 Enabling Ctest driven testing
Signed-off-by: Eanna O Cathain <eanna.ocathain@arm.com>
Change-Id: Ica67662d20b0c02b75418f79d4ba2f4d18373310
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 150c668..7453176 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -50,6 +50,8 @@ set(HAL_PLATFORM_DIR ${CMAKE_CURRENT_SOURCE_DIR}/source/hal/source/platform) include(${CMAKE_SCRIPTS_DIR}/source_gen_utils.cmake) +enable_testing() + if (${CMAKE_BINARY_DIR} STREQUAL ${CMAKE_SOURCE_DIR}) message(FATAL_ERROR "Source and build are in the same directory") else() @@ -150,6 +152,7 @@ endif() list(REMOVE_ITEM USE_CASES "" ${EXCLUDED_USE_CASES}) message(STATUS "Use-cases excluded by platform configuration: ${EXCLUDED_USE_CASES}") message(STATUS "Building use-cases: ${USE_CASES}.") + foreach(use_case ${USE_CASES}) set(SRC_USE_CASE "") |