chore: Update zephyr ztest include paths and compiler flags (#660)

This commit is contained in:
Steve Karg
2024-05-30 21:30:36 -05:00
committed by GitHub
parent f6ebf11066
commit cf7eb7d98d
4 changed files with 15 additions and 2 deletions
+2
View File
@@ -29,6 +29,8 @@ if (CMAKE_C_COMPILER_ID MATCHES "Clang" OR CMAKE_C_COMPILER_ID MATCHES "GNU")
add_compile_options(-Wno-unused-variable)
add_compile_options(-Wno-unused-function)
add_compile_options(-Wno-unused-parameter)
# FIXME: zephyr ztest has a strnlen hack in platform.h which triggers this warning
add_compile_options(-Wno-redundant-decls)
add_link_options(-fprofile-arcs -ftest-coverage)
endif()