Add unit testcase for thread-pool.
Extract thread-pool into a separate CMake library. Extract utils into a separate CMake library.
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
add_executable(test_thread-pool
|
||||
test_thread-pool.c)
|
||||
add_dependencies(tests test_thread-pool)
|
||||
target_link_libraries(test_thread-pool PRIVATE thread-pool pthread LOG minimal_lib)
|
||||
add_test(NAME test_thread-pool
|
||||
COMMAND ./test_thread-pool)
|
||||
Reference in New Issue
Block a user