diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2024-07-04 13:57:22 -0400 |
|---|---|---|
| committer | Eugene Triguba <eugenetriguba@gmail.com> | 2024-07-04 13:57:22 -0400 |
| commit | 4ddc17ed9c1778aef0320304801492ad9c30450e (patch) | |
| tree | c76c72f43b78f5720c08d159aa75d1631b35373f /tests/CMakeLists.txt | |
| parent | Tweak linebuffer (diff) | |
| download | cli-4ddc17ed9c1778aef0320304801492ad9c30450e.zip | |
Tweak tests and read_word impl
Diffstat (limited to 'tests/CMakeLists.txt')
| -rw-r--r-- | tests/CMakeLists.txt | 3 |
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}) |