mirror of
https://github.com/reactos/reactos.git
synced 2024-11-07 15:10:53 +00:00
680d69d373
The initial tests in send.c validate correct behavior of send/sendto on disconnected sockets (CORE-9810), fixed in r68129. However, the helper functions are generic, so they can be used for additional tests against AFD. Because AFD's create packet structure changes between Windows versions, the functions check the OS version to determine the right layout. Tests succeed on Win2003 as well as Win10.
15 lines
401 B
CMake
15 lines
401 B
CMake
|
|
include_directories(
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/drivers)
|
|
|
|
list(APPEND SOURCE
|
|
AfdHelpers.c
|
|
send.c
|
|
precomp.h)
|
|
|
|
add_executable(afd_apitest ${SOURCE} testlist.c)
|
|
target_link_libraries(afd_apitest wine)
|
|
set_module_type(afd_apitest win32cui)
|
|
add_importlibs(afd_apitest ws2_32 msvcrt kernel32 ntdll)
|
|
add_pch(afd_apitest precomp.h SOURCE)
|
|
add_rostests_file(TARGET afd_apitest)
|