[KMTESTS:CC] Add a test showing our CcPinMappedData() implementation is broken
[reactos.git] / modules / rostests / kmtests / CMakeLists.txt
index c66ed9a..623188e 100644 (file)
@@ -31,6 +31,7 @@ list(APPEND COMMON_SOURCE
 list(APPEND KMTEST_DRV_SOURCE
     kmtest_drv/guid.c
     kmtest_drv/kmtest_drv.c
 list(APPEND KMTEST_DRV_SOURCE
     kmtest_drv/guid.c
     kmtest_drv/kmtest_drv.c
+    kmtest_drv/structs.c
     kmtest_drv/testlist.c
 
     example/Example.c
     kmtest_drv/testlist.c
 
     example/Example.c
@@ -135,6 +136,9 @@ list(APPEND KMTEST_SOURCE
     kernel32/FileAttributes_user.c
     kernel32/FindFile_user.c
     ntos_cc/CcCopyRead_user.c
     kernel32/FileAttributes_user.c
     kernel32/FindFile_user.c
     ntos_cc/CcCopyRead_user.c
+    ntos_cc/CcMapData_user.c
+    ntos_cc/CcPinMappedData_user.c
+    ntos_cc/CcPinRead_user.c
     ntos_io/IoCreateFile_user.c
     ntos_io/IoDeviceObject_user.c
     ntos_io/IoReadWrite_user.c
     ntos_io/IoCreateFile_user.c
     ntos_io/IoDeviceObject_user.c
     ntos_io/IoReadWrite_user.c
@@ -153,8 +157,7 @@ add_importlibs(kmtest fltlib advapi32 ws2_32 msvcrt kernel32 ntdll)
 add_target_compile_definitions(kmtest KMT_USER_MODE NTDDI_VERSION=NTDDI_WS03SP1)
 #add_pch(kmtest include/kmt_test.h)
 set_target_properties(kmtest PROPERTIES OUTPUT_NAME "kmtest_")
 add_target_compile_definitions(kmtest KMT_USER_MODE NTDDI_VERSION=NTDDI_WS03SP1)
 #add_pch(kmtest include/kmt_test.h)
 set_target_properties(kmtest PROPERTIES OUTPUT_NAME "kmtest_")
-#add_rostests_file(TARGET kmtest)
-add_cd_file(TARGET kmtest DESTINATION reactos/bin FOR all)
+add_rostests_file(TARGET kmtest)
 
 #
 # Group targets
 
 #
 # Group targets
@@ -173,7 +176,8 @@ add_dependencies(kmtest_drivers
     ntcreatesection_drv
     poirp_drv
     tcpip_drv
     ntcreatesection_drv
     poirp_drv
     tcpip_drv
-    cccopyread_drv)
+    cccopyread_drv
+    ccmapdata_drv)
 
 add_custom_target(kmtest_all)
 add_dependencies(kmtest_all kmtest_drivers kmtest)
 
 add_custom_target(kmtest_all)
 add_dependencies(kmtest_all kmtest_drivers kmtest)