tests: net: Enable CONFIG_NET_BUF_VARIABLE_DATA_SIZE in some tests
CONFIG_NET_BUF_VARIABLE_DATA_SIZE option had not test coverage at all, making in vulnerable for regressions. There is no dedicated test suite to verify this option, but at least we can enable it in a few test suites to make sure the configuration is functional. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
This commit is contained in:
parent
daefce6943
commit
0c4e669cd7
3 changed files with 17 additions and 2 deletions
|
@ -9,3 +9,7 @@ tests:
|
|||
net.6lo.preempt:
|
||||
extra_configs:
|
||||
- CONFIG_NET_TC_THREAD_PREEMPTIVE=y
|
||||
net.6lo.variable_buf_size:
|
||||
extra_configs:
|
||||
- CONFIG_NET_BUF_VARIABLE_DATA_SIZE=y
|
||||
- CONFIG_NET_BUF_DATA_POOL_SIZE=4096
|
||||
|
|
|
@ -1,4 +1,11 @@
|
|||
common:
|
||||
tags: net ipv6
|
||||
depends_on: netif
|
||||
tests:
|
||||
net.ipv6:
|
||||
tags: net ipv6
|
||||
depends_on: netif
|
||||
extra_configs:
|
||||
- CONFIG_NET_BUF_FIXED_DATA_SIZE=y
|
||||
net.ipv6.variable_buf_size:
|
||||
extra_configs:
|
||||
- CONFIG_NET_BUF_VARIABLE_DATA_SIZE=y
|
||||
- CONFIG_NET_BUF_DATA_POOL_SIZE=4096
|
||||
|
|
|
@ -8,3 +8,7 @@ tests:
|
|||
net.tcp.no_recv_queue:
|
||||
extra_configs:
|
||||
- CONFIG_NET_TCP_RECV_QUEUE_TIMEOUT=0
|
||||
net.tcp.variable_buf_size:
|
||||
extra_configs:
|
||||
- CONFIG_NET_BUF_VARIABLE_DATA_SIZE=y
|
||||
- CONFIG_NET_BUF_DATA_POOL_SIZE=4096
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue