tests: start_server [not finished]

This commit is contained in:
2026-07-03 16:45:42 +03:00
parent a0a33f924c
commit 1b34076773
6 changed files with 79 additions and 14 deletions
+19
View File
@@ -0,0 +1,19 @@
# ---/ start_server /--------------------------------------------------
add_executable(start_server
start_server.c
)
target_link_libraries(start_server
cmocka
client
file_p
session
utils
main
test_utils
)
target_link_options(start_server PRIVATE -Wl,--wrap=socket,--wrap=setsockopt,--wrap=bind,--wrap=listen,--wrap=exit)
add_test(NAME client_start_server_test_1 COMMAND start_server)