MQTT-C: compile tests only if no with_mbedtls is enabled

tests only supports tests in non-encrypted mode. when we open tests
compilation in other modes, there will be many compilation warning
with mismatched parameter types, and it will not run correctly.

Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
This commit is contained in:
zhanghongyu 2025-08-18 16:59:09 +08:00 committed by GUIDINGLI
parent 54bef649ea
commit faefee4897

View file

@ -19,6 +19,7 @@ config NETUTILS_MQTTC_EXAMPLE
config NETUTILS_MQTTC_TEST
tristate "Enable MQTT-C test"
depends on !NETUTILS_MQTTC_WITH_MBEDTLS
default n
if NETUTILS_MQTTC_EXAMPLE