From 5f249bae0ca8fbdf81aa2ab78ce0f5efc7c35f38 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Tue, 8 Mar 2016 11:18:47 +0100 Subject: lib: Updated du_buff test Tests should have "_test.c" appended and include the source they are testing. The build system will find it in the parent directory. Removed linked_list example test as it is now useless. --- src/lib/tests/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/lib/tests/CMakeLists.txt') diff --git a/src/lib/tests/CMakeLists.txt b/src/lib/tests/CMakeLists.txt index 5725acc7..b1259fa8 100644 --- a/src/lib/tests/CMakeLists.txt +++ b/src/lib/tests/CMakeLists.txt @@ -3,8 +3,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 + du_buff_test.c ) add_executable(${src_folder}_test EXCLUDE_FROM_ALL ${${src_folder}_tests}) -- cgit v1.2.3