From 81c96a785db2cd828700af9b4315fabeeaf7474b Mon Sep 17 00:00:00 2001 From: Qinghao Shi Date: Thu, 6 Jun 2019 18:41:16 +0100 Subject: [PATCH] Tests: enable kvstore test for Fastmodel for test code coverage --- features/storage/TESTS/kvstore/filesystemstore_tests/main.cpp | 4 ++-- features/storage/TESTS/kvstore/general_tests_phase_1/main.cpp | 4 ++-- features/storage/TESTS/kvstore/general_tests_phase_2/main.cpp | 4 ++-- features/storage/TESTS/kvstore/securestore_whitebox/main.cpp | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/features/storage/TESTS/kvstore/filesystemstore_tests/main.cpp b/features/storage/TESTS/kvstore/filesystemstore_tests/main.cpp index 4c718a8d23..f13ee3f309 100644 --- a/features/storage/TESTS/kvstore/filesystemstore_tests/main.cpp +++ b/features/storage/TESTS/kvstore/filesystemstore_tests/main.cpp @@ -27,8 +27,8 @@ #include "utest.h" #include -#if !defined(TARGET_K64F) -#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices +#if !defined(TARGET_K64F) && !defined(TARGET_ARM_FM) +#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices and Fastmodels #endif #define FSST_TEST_NUM_OF_THREADS 5 diff --git a/features/storage/TESTS/kvstore/general_tests_phase_1/main.cpp b/features/storage/TESTS/kvstore/general_tests_phase_1/main.cpp index bd0f41504e..4ff52eb1e4 100644 --- a/features/storage/TESTS/kvstore/general_tests_phase_1/main.cpp +++ b/features/storage/TESTS/kvstore/general_tests_phase_1/main.cpp @@ -29,8 +29,8 @@ using namespace utest::v1; using namespace mbed; -#if !defined(TARGET_K64F) -#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices +#if !defined(TARGET_K64F) && !defined(TARGET_ARM_FM) +#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices and Fastmodels #endif static const char data[] = "data"; diff --git a/features/storage/TESTS/kvstore/general_tests_phase_2/main.cpp b/features/storage/TESTS/kvstore/general_tests_phase_2/main.cpp index fbfaad9f8c..4f701d9734 100644 --- a/features/storage/TESTS/kvstore/general_tests_phase_2/main.cpp +++ b/features/storage/TESTS/kvstore/general_tests_phase_2/main.cpp @@ -29,8 +29,8 @@ using namespace utest::v1; using namespace mbed; -#if !defined(TARGET_K64F) -#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices +#if !defined(TARGET_K64F) && !defined(TARGET_ARM_FM) +#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices and Fastmodels #endif static const char data[] = "data"; diff --git a/features/storage/TESTS/kvstore/securestore_whitebox/main.cpp b/features/storage/TESTS/kvstore/securestore_whitebox/main.cpp index be8319b973..de8a628230 100644 --- a/features/storage/TESTS/kvstore/securestore_whitebox/main.cpp +++ b/features/storage/TESTS/kvstore/securestore_whitebox/main.cpp @@ -34,8 +34,8 @@ #include #include -#if !defined(TARGET_K64F) -#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices +#if !defined(TARGET_K64F) && !defined(TARGET_ARM_FM) +#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices and Fastmodels #endif #if !SECURESTORE_ENABLED