From a1c74036ea8f70e5a163284d6189b9dab90c1e1b Mon Sep 17 00:00:00 2001 From: Matthew Macovsky Date: Thu, 5 Sep 2019 17:33:30 +0100 Subject: [PATCH] Enable some of the kvstore tests for PSoC 6 MCUs --- 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 d8a75286cd3..8a06c1e1e8d 100644 --- a/features/storage/TESTS/kvstore/filesystemstore_tests/main.cpp +++ b/features/storage/TESTS/kvstore/filesystemstore_tests/main.cpp @@ -30,8 +30,8 @@ #include "utest.h" #include -#if !defined(TARGET_K64F) && !defined(TARGET_ARM_FM) -#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices and Fastmodels +#if !defined(TARGET_K64F) && !defined(TARGET_ARM_FM) && !defined(TARGET_MCU_PSOC6) +#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices, Fastmodels, and PSoC 6 #else #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 7bbbfb6130b..3f446d23ff2 100644 --- a/features/storage/TESTS/kvstore/general_tests_phase_1/main.cpp +++ b/features/storage/TESTS/kvstore/general_tests_phase_1/main.cpp @@ -32,8 +32,8 @@ using namespace utest::v1; using namespace mbed; -#if !defined(TARGET_K64F) && !defined(TARGET_ARM_FM) -#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices and Fastmodels +#if !defined(TARGET_K64F) && !defined(TARGET_ARM_FM) && !defined(TARGET_MCU_PSOC6) +#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices, Fastmodels, and PSoC 6 #else 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 33aa6c5849f..fa228060925 100644 --- a/features/storage/TESTS/kvstore/general_tests_phase_2/main.cpp +++ b/features/storage/TESTS/kvstore/general_tests_phase_2/main.cpp @@ -32,8 +32,8 @@ using namespace utest::v1; using namespace mbed; -#if !defined(TARGET_K64F) && !defined(TARGET_ARM_FM) -#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices and Fastmodels +#if !defined(TARGET_K64F) && !defined(TARGET_ARM_FM) && !defined(TARGET_MCU_PSOC6) +#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices, Fastmodels, and PSoC 6 #else 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 af2bb1d5f15..ab5b759714b 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) && !defined(TARGET_ARM_FM)) || !SECURESTORE_ENABLED -#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices and Fastmodels. KVStore & SecureStore need to be enabled for this test +#if (!defined(TARGET_K64F) && !defined(TARGET_ARM_FM)) && !defined(TARGET_MCU_PSOC6) || !SECURESTORE_ENABLED +#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices, Fastmodels, and PSoC 6. KVStore & SecureStore need to be enabled for this test #else using namespace mbed;