2010-12-07 09:27:10 +00:00
|
|
|
|
2015-02-13 20:20:52 +00:00
|
|
|
start_module_group(rostests)
|
|
|
|
|
2019-04-19 23:35:39 +00:00
|
|
|
add_definitions(-DHAVE_APITEST)
|
|
|
|
|
2015-12-05 16:46:04 +00:00
|
|
|
if(MSVC_IDE)
|
|
|
|
add_definitions(-DWINETEST_MSVC_IDE_FORMATTING)
|
|
|
|
endif()
|
|
|
|
|
2010-12-22 16:33:37 +00:00
|
|
|
add_subdirectory(apitests)
|
2010-12-07 09:27:10 +00:00
|
|
|
#add_subdirectory(dibtests)
|
2014-12-02 18:06:57 +00:00
|
|
|
add_subdirectory(drivers)
|
2010-12-07 09:27:10 +00:00
|
|
|
#add_subdirectory(dxtest)
|
2024-05-06 18:18:11 +00:00
|
|
|
if(MSVC OR NOT ARCH STREQUAL "amd64") # FIXME build is broken with new x64 PSEH
|
2011-06-09 15:14:02 +00:00
|
|
|
add_subdirectory(kmtests)
|
2024-05-06 18:18:11 +00:00
|
|
|
endif()
|
2010-12-07 09:27:10 +00:00
|
|
|
#add_subdirectory(regtests)
|
2013-06-22 16:38:27 +00:00
|
|
|
add_subdirectory(rosautotest)
|
2011-01-03 11:24:54 +00:00
|
|
|
add_subdirectory(tests)
|
2024-07-31 11:07:38 +00:00
|
|
|
add_subdirectory(unittests)
|
2017-11-16 23:56:01 +00:00
|
|
|
add_subdirectory(win32)
|
2010-12-07 09:27:10 +00:00
|
|
|
add_subdirectory(winetests)
|
2015-02-13 20:20:52 +00:00
|
|
|
|
2015-04-26 17:47:55 +00:00
|
|
|
|
|
|
|
## 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})
|
2017-01-13 09:24:15 +00:00
|
|
|
add_rostests_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/testdata/${item} SUBDIR testdata)
|
2015-04-26 17:47:55 +00:00
|
|
|
endforeach(item)
|
|
|
|
endif()
|
|
|
|
|
2015-02-13 20:20:52 +00:00
|
|
|
end_module_group()
|