Fix tests: (#314)

- misprint in ports/zephyr/bip-init.c
- error processing PROP_TRACKING_VALUE for the Color Temperature object in
  src/bacnet/bacapp.c
- misprint MSV test
- add hostnport.c for each zephyr tests
- fix colors and ms-input tests - remove mocking Device_Inc_Database_Revision()
  for zephyr tests
- debug the color temperature test
This commit is contained in:
Mikhail Antropov
2022-07-30 11:31:38 +03:00
committed by GitHub
parent a945588340
commit 4b742effe1
46 changed files with 233 additions and 54 deletions
@@ -26,6 +26,7 @@ if(BOARD STREQUAL unit_testing)
list(APPEND SOURCES
${BACNET_SRC_PATH}.c
${BACNET_TEST_PATH}/src/main.c
${BACNET_TEST_PATH}/../mock/device_mock.c
)
get_filename_component(BACNET_OBJECT_SRC ${BACNET_SRC_PATH} PATH)
@@ -45,6 +46,7 @@ if(BOARD STREQUAL unit_testing)
${BACNET_SRC}/indtext.c
${BACNET_SRC}/lighting.c
${BACNET_SRC}/wp.c
${BACNET_SRC}/hostnport.c
)
include($ENV{ZEPHYR_BASE}/subsys/testsuite/unittest.cmake)