mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00

- Add a test for process termination behavior. This shows that CreateProcess with CREATE_SUSPENDED followed by TerminateProcess causes a handle leak. CORE-9234 svn path=/trunk/; revision=66367
20 lines
563 B
CMake
20 lines
563 B
CMake
|
|
list(APPEND SOURCE
|
|
dosdev.c
|
|
FindFiles.c
|
|
GetCurrentDirectory.c
|
|
GetDriveType.c
|
|
GetModuleFileName.c
|
|
interlck.c
|
|
lstrcpynW.c
|
|
MultiByteToWideChar.c
|
|
SetCurrentDirectory.c
|
|
SetUnhandledExceptionFilter.c
|
|
TerminateProcess.c
|
|
testlist.c)
|
|
|
|
add_executable(kernel32_apitest ${SOURCE})
|
|
target_link_libraries(kernel32_apitest wine ${PSEH_LIB})
|
|
set_module_type(kernel32_apitest win32cui)
|
|
add_importlibs(kernel32_apitest gdi32 user32 shlwapi msvcrt kernel32 ntdll)
|
|
add_cd_file(TARGET kernel32_apitest DESTINATION reactos/bin FOR all)
|