Merge pull request #14089 from hugueskamba/hk_cmake_greentea_filesystem

CMake: Add support for Filesystem Greentea tests
pull/14143/head
Martin Kojtal 2021-01-12 15:17:28 +00:00 committed by GitHub
commit 2255408f45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
# Copyright (c) 2020 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
cmake_minimum_required(VERSION 3.19.0 FATAL_ERROR)
set(MBED_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../../../.. CACHE INTERNAL "")
set(TEST_TARGET mbed-storage-filesystem-general_filesystem)
include(${MBED_PATH}/tools/cmake/mbed_greentea.cmake)
project(${TEST_TARGET})
mbed_greentea_cmake_macro(
TEST_NAME ${TEST_TARGET}
TEST_REQUIRED_LIBS
mbed-storage-littlefs
mbed-storage
mbed-storage-sd
)