Skip to content

Commit

Permalink
fix test compiler warnings in hub-sc
Browse files Browse the repository at this point in the history
  • Loading branch information
stargieg committed Oct 26, 2024
1 parent 8ab005f commit 626bfe9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions test/bacnet/datalink/hub-sc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ elseif(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
${SRC_DIR}/bacnet/timestamp.c
${SRC_DIR}/bacnet/wp.c
${SRC_DIR}/bacnet/secure_connect.c
${SRC_DIR}/bacnet/channel_value.c
# Test and test library files
./src/main.c
${TST_DIR}/bacnet/basic/object/test/device_mock.c
Expand Down Expand Up @@ -169,6 +170,7 @@ elseif(WIN32)
${SRC_DIR}/bacnet/wp.c
${SRC_DIR}/bacnet/basic/sys/bigend.c
${SRC_DIR}/bacnet/secure_connect.c
${SRC_DIR}/bacnet/channel_value.c
# Test and test library files
./src/main.c
${TST_DIR}/bacnet/basic/object/test/device_mock.c
Expand Down Expand Up @@ -265,6 +267,7 @@ elseif(APPLE)
${SRC_DIR}/bacnet/wp.c
${SRC_DIR}/bacnet/secure_connect.c
${SRC_DIR}/bacnet/special_event.c
${SRC_DIR}/bacnet/channel_value.c
# Test and test library files
./src/main.c
${TST_DIR}/bacnet/basic/object/test/device_mock.c
Expand Down
2 changes: 1 addition & 1 deletion test/bacnet/datalink/hub-sc/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2285,7 +2285,7 @@ ZTEST_SUITE(hub_test_8, NULL, suite_setup, NULL, NULL, NULL);
#else
void test_main(void)
{
setbuf(stdout, NULL);
// setbuf(stdout, NULL);
// Tests must not be run in parallel threads!
// Thats why tests functions are in different suites.
ztest_test_suite(
Expand Down

0 comments on commit 626bfe9

Please sign in to comment.