<commit_before><commit_msg>CMake: Add support for Filesystem Greentea tests<commit_after># 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
)
{'fraction_non_alphanumeric': 0.12459016393442623, 'fraction_numerical': 0.01639344262295082, 'mean_word_length': 4.407079646017699, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7490017', 'n_tokens_mistral': 224, 'n_tokens_neox': 212, 'n_words': 35}