mirror of
https://github.com/reactos/reactos.git
synced 2024-10-25 15:36:07 +00:00
246357c187
- Add NtAllocateVirtualMemory test, which is a small stress test for virtual memory allocation/freeing/reuse - Can be used to reproduce bug 5857 in third stage (install with VT-x enabled, then disable for the test) - Shows that the bug is a race condition in Mm, and not heap's fault - I've put ASSERTs instead of ok's for easier debugging svn path=/trunk/; revision=54548
19 lines
475 B
CMake
19 lines
475 B
CMake
|
|
list(APPEND SOURCE
|
|
NtAllocateVirtualMemory.c
|
|
NtFreeVirtualMemory.c
|
|
RtlInitializeBitMap.c
|
|
SystemInfo.c
|
|
ZwContinue.c
|
|
testlist.c)
|
|
|
|
if(ARCH MATCHES i386)
|
|
list(APPEND SOURCE i386/ZwContinue.S)
|
|
endif()
|
|
|
|
add_executable(ntdll_apitest ${SOURCE})
|
|
target_link_libraries(ntdll_apitest wine)
|
|
set_module_type(ntdll_apitest win32cui)
|
|
add_importlibs(ntdll_apitest msvcrt advapi32 kernel32 ntdll)
|
|
add_cd_file(TARGET ntdll_apitest DESTINATION reactos/bin FOR all)
|