Testing object_pool
Add unit tests for object_pool functions. It need a C wrapper because
the macros for creating pool do not work when compiling in C++. The
declaration and initialization order of structure members must be the
same in C++ while this is not a requirement in C.
Change-Id: Id06bcd39cabfcbb57584c8ef7f8a118e3226c3c2
Signed-off-by: Imre Kis <imre.kis@arm.com>
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bcfb234..3ad62d2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2019, Arm Limited. All rights reserved.
+# Copyright (c) 2019-2020, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
@@ -112,3 +112,4 @@
include_directories(${CMAKE_CURRENT_LIST_DIR}/include)
include(tests/lib/libc/test_libc.cmake)
+include(tests/lib/object_pool/test_object_pool.cmake)