Skip to content

Commit 81c96a7

Browse files
Qinghao ShiQinghao Shi
authored andcommitted
Tests: enable kvstore test for Fastmodel for test code coverage
1 parent 07c3d90 commit 81c96a7

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

features/storage/TESTS/kvstore/filesystemstore_tests/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
#include "utest.h"
2828
#include <stdlib.h>
2929

30-
#if !defined(TARGET_K64F)
31-
#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices
30+
#if !defined(TARGET_K64F) && !defined(TARGET_ARM_FM)
31+
#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices and Fastmodels
3232
#endif
3333

3434
#define FSST_TEST_NUM_OF_THREADS 5

features/storage/TESTS/kvstore/general_tests_phase_1/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
using namespace utest::v1;
3030
using namespace mbed;
3131

32-
#if !defined(TARGET_K64F)
33-
#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices
32+
#if !defined(TARGET_K64F) && !defined(TARGET_ARM_FM)
33+
#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices and Fastmodels
3434
#endif
3535

3636
static const char data[] = "data";

features/storage/TESTS/kvstore/general_tests_phase_2/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
using namespace utest::v1;
3030
using namespace mbed;
3131

32-
#if !defined(TARGET_K64F)
33-
#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices
32+
#if !defined(TARGET_K64F) && !defined(TARGET_ARM_FM)
33+
#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices and Fastmodels
3434
#endif
3535

3636
static const char data[] = "data";

features/storage/TESTS/kvstore/securestore_whitebox/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
#include <stdio.h>
3535
#include <algorithm>
3636

37-
#if !defined(TARGET_K64F)
38-
#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices
37+
#if !defined(TARGET_K64F) && !defined(TARGET_ARM_FM)
38+
#error [NOT_SUPPORTED] Kvstore API tests run only on K64F devices and Fastmodels
3939
#endif
4040

4141
#if !SECURESTORE_ENABLED

0 commit comments

Comments
 (0)