aboutsummaryrefslogtreecommitdiffstats
path: root/tests/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r--tests/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 4b0168f..a307bd3 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -1,7 +1,10 @@
add_executable(test_linebuffer test_linebuffer.c ../src/linebuffer.c)
+add_executable(test_word test_word.c ../src/word.c)
add_test(NAME test_linebuffer COMMAND test_linebuffer)
+add_test(NAME test_word COMMAND test_word)
find_package(PkgConfig REQUIRED)
pkg_check_modules(CMOCKA REQUIRED cmocka)
include_directories(${CMOCKA_INCLUDE_DIRS})
target_link_libraries(test_linebuffer ${CMOCKA_LIBRARIES})
+target_link_libraries(test_word ${CMOCKA_LIBRARIES})