Skip to content

Commit 20bb799

Browse files
committed
tests: lib: location: Fix cmock generation
Exclude Wi-Fi function, that caused cmock generation failure. The function caused issues as it contains argument which type is conditionally hidden behind Kconfig. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no> (cherry picked from commit f23b49f)
1 parent 72e335f commit 20bb799

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/lib/location/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ cmock_handle(${ZEPHYR_BASE}/include/zephyr/net/wifi_mgmt.h
5656
FUNC_EXCLUDE "NET_MGMT_DEFINE_REQUEST_HANDLER"
5757
FUNC_EXCLUDE "BUILD_ASSERT"
5858
FUNC_EXCLUDE "offsetof"
59+
FUNC_EXCLUDE ".*wifi_mgmt_raise_p2p_device_found_event"
60+
WORD_EXCLUDE ".*wifi_mgmt_raise_p2p_device_found_event.*"
5961
)
6062
cmock_handle(${ZEPHYR_BASE}/include/zephyr/device.h
6163
FUNC_EXCLUDE ".*DEVICE_DT_NAME_GET"

0 commit comments

Comments
 (0)