Skip to content
Permalink
Browse files

tests: net: mqtt_publisher: Allow compilation in every platform

Fixes the compile errors in various platforms like:
* sam_e70_xplained (too few network buffers)
* galileo, cc3220sf_launchxl and mps2_an385 (missing random number
  generator configuration options)

Fixes #15878

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
  • Loading branch information...
jukkar authored and nashif committed May 4, 2019
1 parent c9f4bb6 commit 758a2468fdd8c83fae8c65715ccb2b27350eddb1
@@ -2,7 +2,6 @@
CONFIG_NET_IPV4=y
CONFIG_NET_IPV6=n
CONFIG_NET_SOCKETS=y
CONFIG_TEST_RANDOM_GENERATOR=y

# Enable SimpleLink WiFi Driver and Socket Offload
CONFIG_WIFI=y
@@ -1,6 +1,9 @@
CONFIG_NETWORKING=y
CONFIG_NET_TCP=y
CONFIG_ENTROPY_GENERATOR=y
CONFIG_TEST_RANDOM_GENERATOR=y
CONFIG_TIMER_RANDOM_GENERATOR=y

CONFIG_NET_ARP=y
CONFIG_NET_L2_ETHERNET=y
CONFIG_NET_LOG=y
@@ -2,9 +2,13 @@ common:
tags: net mqtt
harness: net
depends_on: netif
platform_whitelist: native_posix qemu_x86 qemu_cortex_m3
tests:
net.mqtt:
min_ram: 16
net.mqtt.tls:
extra_args: CONF_FILE="prj_tls.conf"
extra_configs:
- CONFIG_NET_PKT_RX_COUNT=20
- CONFIG_NET_PKT_TX_COUNT=20
- CONFIG_NET_BUF_RX_COUNT=20
- CONFIG_NET_BUF_TX_COUNT=20

0 comments on commit 758a246

Please sign in to comment.
You can’t perform that action at this time.