reactos/rostests/apitests/ntdll/CMakeLists.txt
Colin Finck da200b3a2c [ROSTESTS]
- Add a function "add_rostests_file" that calls both add_cd_file() and install() accordingly for regression tests.
  Use this function everywhere in rostests where add_cd_file() was used previously. This puts tests always in the right place on CD and also generates proper installation rules for them.
- Add a custom target "rostests_install" that performs an "install" on all rostests components.

This finally gives us a convenient and reliable way to copy all regression tests and their dependencies into a single directory (specified by the ROSTESTS_INSTALL environment variable).
Will be used on the WHS-Testbot to let it finally run each and every test.

CORE-12401
ONLINE-441

svn path=/trunk/; revision=73533
2017-01-13 09:24:15 +00:00

67 lines
1.7 KiB
CMake

list(APPEND SOURCE
LdrEnumResources.c
NtAllocateVirtualMemory.c
NtApphelpCacheControl.c
NtContinue.c
NtCreateFile.c
NtCreateKey.c
NtCreateThread.c
NtDeleteKey.c
NtFreeVirtualMemory.c
NtMapViewOfSection.c
NtMutant.c
NtOpenProcessToken.c
NtOpenThreadToken.c
NtProtectVirtualMemory.c
NtQueryInformationProcess.c
NtQueryKey.c
NtQuerySystemEnvironmentValue.c
NtQueryVolumeInformationFile.c
NtReadFile.c
NtSaveKey.c
NtSetValueKey.c
NtWriteFile.c
RtlAllocateHeap.c
RtlBitmap.c
RtlCopyMappedMemory.c
RtlDeleteAce.c
RtlDetermineDosPathNameType.c
RtlDoesFileExists.c
RtlDosApplyFileIsolationRedirection_Ustr.c
RtlDosPathNameToNtPathName_U.c
RtlDosSearchPath_U.c
RtlDosSearchPath_Ustr.c
RtlFirstFreeAce.c
RtlGenerate8dot3Name.c
RtlGetFullPathName_U.c
RtlGetFullPathName_Ustr.c
RtlGetFullPathName_UstrEx.c
RtlGetLengthWithoutTrailingPathSeperators.c
RtlGetLongestNtPathLength.c
RtlImageRvaToVa.c
RtlInitializeBitMap.c
RtlIsNameLegalDOS8Dot3.c
RtlMemoryStream.c
RtlReAllocateHeap.c
RtlUpcaseUnicodeStringToCountedOemString.c
StackOverflow.c
SystemInfo.c
Timer.c
testlist.c)
if(ARCH STREQUAL "i386")
add_asm_files(ntdll_apitest_asm i386/NtContinue.S)
endif()
add_executable(ntdll_apitest ${SOURCE} ${ntdll_apitest_asm})
target_link_libraries(ntdll_apitest wine uuid ${PSEH_LIB})
set_module_type(ntdll_apitest win32cui)
add_importlibs(ntdll_apitest msvcrt advapi32 kernel32 ntdll)
if(NOT MSVC)
set_source_files_properties(RtlGetFullPathName_UstrEx.c PROPERTIES COMPILE_FLAGS "-Wno-format")
endif()
add_rostests_file(TARGET ntdll_apitest)