mirror of https://github.com/ARMmbed/mbed-os.git
move greentea and UNITTESTS closure to library
parent
72b4a14536
commit
bb14b9ff8f
|
@ -23,13 +23,13 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "DeviceKey.h"
|
#include "DeviceKey.h"
|
||||||
#include "KVStore.h"
|
#include "kvstore/KVStore.h"
|
||||||
#include "KVMap.h"
|
#include "kvstore/KVMap.h"
|
||||||
#include "kv_config.h"
|
#include "kv_config/kv_config.h"
|
||||||
#include "TDBStore.h"
|
#include "kvstore/TDBStore.h"
|
||||||
#include "FlashIAP.h"
|
#include "FlashIAP.h"
|
||||||
#include "FlashIAPBlockDevice.h"
|
#include "FlashIAPBlockDevice.h"
|
||||||
#include "DirectAccessDevicekey.h"
|
#include "direct_access_devicekey/DirectAccessDevicekey.h"
|
||||||
#include "greentea-client/test_env.h"
|
#include "greentea-client/test_env.h"
|
||||||
#include "unity.h"
|
#include "unity.h"
|
||||||
#include "utest.h"
|
#include "utest.h"
|
|
@ -16,8 +16,8 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "SecureStore.h"
|
#include "securestore/SecureStore.h"
|
||||||
#include "TDBStore.h"
|
#include "kvstore/TDBStore.h"
|
||||||
#ifdef MBED_CONF_RTOS_PRESENT
|
#ifdef MBED_CONF_RTOS_PRESENT
|
||||||
#include "Thread.h"
|
#include "Thread.h"
|
||||||
#endif
|
#endif
|
|
@ -14,8 +14,8 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
#include "SecureStore.h"
|
#include "securestore/SecureStore.h"
|
||||||
#include "TDBStore.h"
|
#include "kvstore/TDBStore.h"
|
||||||
#ifdef MBED_CONF_RTOS_PRESENT
|
#ifdef MBED_CONF_RTOS_PRESENT
|
||||||
#include "Thread.h"
|
#include "Thread.h"
|
||||||
#endif
|
#endif
|
|
@ -14,8 +14,8 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
#include "SecureStore.h"
|
#include "securestore/SecureStore.h"
|
||||||
#include "TDBStore.h"
|
#include "kvstore/TDBStore.h"
|
||||||
#include "mbed_error.h"
|
#include "mbed_error.h"
|
||||||
#include "FlashSimBlockDevice.h"
|
#include "FlashSimBlockDevice.h"
|
||||||
#include "SlicingBlockDevice.h"
|
#include "SlicingBlockDevice.h"
|
|
@ -0,0 +1 @@
|
||||||
|
*
|
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
#include "gtest/gtest.h"
|
#include "gtest/gtest.h"
|
||||||
#include "blockdevice/HeapBlockDevice.h"
|
#include "blockdevice/HeapBlockDevice.h"
|
||||||
#include "storage/kvstore/filesystemstore/FileSystemStore.h"
|
#include "kvstore/FileSystemStore.h"
|
||||||
#include "littlefs/LittleFileSystem.h"
|
#include "littlefs/LittleFileSystem.h"
|
||||||
#include "mbed_error.h"
|
#include "mbed_error.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
|
@ -10,7 +10,7 @@ set(unittest-includes ${unittest-includes}
|
||||||
|
|
||||||
set(unittest-sources
|
set(unittest-sources
|
||||||
../storage/blockdevice/source/HeapBlockDevice.cpp
|
../storage/blockdevice/source/HeapBlockDevice.cpp
|
||||||
../storage/kvstore/filesystemstore/FileSystemStore.cpp
|
../storage/kvstore/source/FileSystemStore.cpp
|
||||||
../storage/filesystem/littlefs/source/LittleFileSystem.cpp
|
../storage/filesystem/littlefs/source/LittleFileSystem.cpp
|
||||||
../storage/filesystem/source/Dir.cpp
|
../storage/filesystem/source/Dir.cpp
|
||||||
../storage/filesystem/source/File.cpp
|
../storage/filesystem/source/File.cpp
|
||||||
|
@ -24,7 +24,7 @@ set(unittest-sources
|
||||||
)
|
)
|
||||||
|
|
||||||
set(unittest-test-sources
|
set(unittest-test-sources
|
||||||
moduletests/storage/kvstore/FileSystemStore/moduletest.cpp
|
${CMAKE_CURRENT_LIST_DIR}/moduletest.cpp
|
||||||
stubs/mbed_atomic_stub.c
|
stubs/mbed_atomic_stub.c
|
||||||
stubs/mbed_assert_stub.cpp
|
stubs/mbed_assert_stub.cpp
|
||||||
stubs/mbed_error.c
|
stubs/mbed_error.c
|
|
@ -17,7 +17,7 @@
|
||||||
#include "gtest/gtest.h"
|
#include "gtest/gtest.h"
|
||||||
#include "blockdevice/HeapBlockDevice.h"
|
#include "blockdevice/HeapBlockDevice.h"
|
||||||
#include "blockdevice/FlashSimBlockDevice.h"
|
#include "blockdevice/FlashSimBlockDevice.h"
|
||||||
#include "storage/kvstore/tdbstore/TDBStore.h"
|
#include "kvstore/TDBStore.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#define BLOCK_SIZE (512)
|
#define BLOCK_SIZE (512)
|
|
@ -13,7 +13,7 @@ set(unittest-sources
|
||||||
../storage/blockdevice/source/FlashSimBlockDevice.cpp
|
../storage/blockdevice/source/FlashSimBlockDevice.cpp
|
||||||
../storage/blockdevice/source/HeapBlockDevice.cpp
|
../storage/blockdevice/source/HeapBlockDevice.cpp
|
||||||
../storage/blockdevice/source/BufferedBlockDevice.cpp
|
../storage/blockdevice/source/BufferedBlockDevice.cpp
|
||||||
../storage/kvstore/tdbstore/TDBStore.cpp
|
../storage/kvstore/source/TDBStore.cpp
|
||||||
../features/frameworks/mbed-trace/source/mbed_trace.c
|
../features/frameworks/mbed-trace/source/mbed_trace.c
|
||||||
stubs/mbed_atomic_stub.c
|
stubs/mbed_atomic_stub.c
|
||||||
stubs/mbed_assert_stub.cpp
|
stubs/mbed_assert_stub.cpp
|
||||||
|
@ -21,7 +21,7 @@ set(unittest-sources
|
||||||
)
|
)
|
||||||
|
|
||||||
set(unittest-test-sources
|
set(unittest-test-sources
|
||||||
moduletests/storage/kvstore/TDBStore/moduletest.cpp
|
${CMAKE_CURRENT_LIST_DIR}/moduletest.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
|
Loading…
Reference in New Issue