Remove BACFILE dependency in RAM file systems and add mock file object functions for testing (#1227)
This commit is contained in:
@@ -28,6 +28,7 @@ add_compile_definitions(
|
||||
include_directories(
|
||||
${SRC_DIR}
|
||||
${TST_DIR}/ztest/include
|
||||
${TST_DIR}/bacnet/basic/object/test
|
||||
)
|
||||
|
||||
add_executable(${PROJECT_NAME}
|
||||
@@ -40,6 +41,7 @@ add_executable(${PROJECT_NAME}
|
||||
# Support files and stubs (pathname alphabetical)
|
||||
# Test and test library files
|
||||
./src/main.c
|
||||
${TST_DIR}/bacnet/basic/object/test/bacfile_mock.c
|
||||
${ZTST_DIR}/ztest_mock.c
|
||||
${ZTST_DIR}/ztest.c
|
||||
)
|
||||
|
||||
@@ -28,6 +28,7 @@ add_compile_definitions(
|
||||
include_directories(
|
||||
${SRC_DIR}
|
||||
${TST_DIR}/ztest/include
|
||||
${TST_DIR}/bacnet/basic/object/test
|
||||
)
|
||||
|
||||
add_executable(${PROJECT_NAME}
|
||||
@@ -40,6 +41,7 @@ add_executable(${PROJECT_NAME}
|
||||
# Support files and stubs (pathname alphabetical)
|
||||
# Test and test library files
|
||||
./src/main.c
|
||||
${TST_DIR}/bacnet/basic/object/test/bacfile_mock.c
|
||||
${ZTST_DIR}/ztest_mock.c
|
||||
${ZTST_DIR}/ztest.c
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user