mirror of
https://github.com/reactos/reactos.git
synced 2024-11-26 21:13:30 +08:00
2d8c2cd8dc
Addendum to commit 6289183dcd
; fixes our MSVC_x64 builder.
34 lines
965 B
CMake
34 lines
965 B
CMake
|
|
start_module_group(rostests)
|
|
|
|
add_definitions(-DHAVE_APITEST)
|
|
|
|
if(MSVC_IDE)
|
|
add_definitions(-DWINETEST_MSVC_IDE_FORMATTING)
|
|
endif()
|
|
|
|
add_subdirectory(apitests)
|
|
#add_subdirectory(dibtests)
|
|
add_subdirectory(drivers)
|
|
#add_subdirectory(dxtest)
|
|
if(MSVC OR NOT ARCH STREQUAL "amd64") # FIXME build is broken with new x64 PSEH
|
|
add_subdirectory(kmtests)
|
|
endif()
|
|
#add_subdirectory(regtests)
|
|
add_subdirectory(rosautotest)
|
|
add_subdirectory(tests)
|
|
add_subdirectory(unittests)
|
|
add_subdirectory(win32)
|
|
add_subdirectory(winetests)
|
|
|
|
|
|
## Extra files needed for the various tests can be added into the "testdata" subdirectory.
|
|
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/testdata/)
|
|
file(GLOB_RECURSE TESTDATA_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/testdata/ ${CMAKE_CURRENT_SOURCE_DIR}/testdata/*)
|
|
foreach(item ${TESTDATA_FILES})
|
|
add_rostests_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/testdata/${item} SUBDIR testdata)
|
|
endforeach(item)
|
|
endif()
|
|
|
|
end_module_group()
|