From f94912a3ea1025c689a5336a1fdc807baa8fa36f Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Tue, 8 Mar 2016 08:37:35 +0100 Subject: tests: added test for the du_buff structure tests/du_buff.c: tests the du_buff_t structure by creating different size du_buff_t's and filling it with different size sdu's at different locations in the du_buff_t tests/CMakefile.txt: added du_buff test lib/du_buff.c: fixed unsafe #define adding brackets --- src/lib/tests/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib/tests/CMakeLists.txt') diff --git a/src/lib/tests/CMakeLists.txt b/src/lib/tests/CMakeLists.txt index 2b02768b..5725acc7 100644 --- a/src/lib/tests/CMakeLists.txt +++ b/src/lib/tests/CMakeLists.txt @@ -4,6 +4,7 @@ get_filename_component(src_folder "${tmp}" NAME) create_test_sourcelist(${src_folder}_tests test_suite.c # Add new tests here linked_list.c + du_buff.c ) add_executable(${src_folder}_test EXCLUDE_FROM_ALL ${${src_folder}_tests}) -- cgit v1.2.3