X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=rostests%2FCMakeLists.txt;h=2822fa6537c1511ea9bb7ca95209e6af01fa2702;hp=649f2ac19c97c38689d411823f6247f68f51e8e6;hb=83d8128bcd3d0061e6bf469b5384b1f08312351e;hpb=9f24fbfec9b4f6aeba383d4ac148cecd969deb39 diff --git a/rostests/CMakeLists.txt b/rostests/CMakeLists.txt index 649f2ac19c9..2822fa6537c 100644 --- a/rostests/CMakeLists.txt +++ b/rostests/CMakeLists.txt @@ -1,4 +1,6 @@ +start_module_group(rostests) + add_subdirectory(apitests) #add_subdirectory(dibtests) add_subdirectory(drivers) @@ -9,3 +11,14 @@ add_subdirectory(rosautotest) add_subdirectory(tests) #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_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/testdata/${item} DESTINATION reactos/bin/testdata NAME_ON_CD ${item} FOR all) + endforeach(item) +endif() + +end_module_group()