mirror of
https://github.com/reactos/reactos.git
synced 2024-08-19 18:02:55 +00:00
![Pierre Schweitzer](/assets/img/avatar_default.png)
Introduce tests for Cc :-) Currently, we only test CcCopyRead for specific alignment matters. It shows that under certain conditions, our Cc doesn't align reads it does, leading to later failure in disk.sys. This reproduces an error observed with MS FastFAT in ReactOS. CORE-11003 svn path=/trunk/; revision=71445
18 lines
548 B
CMake
18 lines
548 B
CMake
|
|
include_directories(../include)
|
|
|
|
#
|
|
# IoCreateFile
|
|
#
|
|
list(APPEND CCCOPYREAD_DRV_SOURCE
|
|
../kmtest_drv/kmtest_standalone.c
|
|
CcCopyRead_drv.c)
|
|
|
|
add_library(cccopyread_drv SHARED ${CCCOPYREAD_DRV_SOURCE})
|
|
set_module_type(cccopyread_drv kernelmodedriver)
|
|
target_link_libraries(cccopyread_drv kmtest_printf ${PSEH_LIB})
|
|
add_importlibs(cccopyread_drv ntoskrnl hal)
|
|
add_target_compile_definitions(cccopyread_drv KMT_STANDALONE_DRIVER)
|
|
#add_pch(cccopyread_drv ../include/kmt_test.h)
|
|
add_cd_file(TARGET cccopyread_drv DESTINATION reactos/bin FOR all)
|