tests: net: limit tests to boards with enough memory to build them

A number of the network tests have minimal memory requirements that not
all boards are able to meet.  Add in those memory requirements so we
don't attempt to build these tests for those platforms.  Utilized the
frdm_kl25z (with 16K of memory) and cc2650_sensortag (with 20K) to test
the limits.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2017-07-25 13:08:07 -05:00 committed by Kumar Gala
commit ebc948d818
16 changed files with 30 additions and 16 deletions

View file

@ -2,4 +2,5 @@ tests:
- test: - test:
build_only: true build_only: true
tags: net tags: net
platform_exclude: bbc_microbit qemu_xtensa min_ram: 32
platform_exclude: qemu_xtensa

View file

@ -1,4 +1,11 @@
tests: tests:
- test: - test:
tags: net tags: net
platform_exclude: bbc_microbit qemu_xtensa filter: not CONFIG_BLUETOOTH
min_ram: 12
platform_exclude: qemu_xtensa
- test_with_bt:
tags: net
filter: CONFIG_BLUETOOTH
min_ram: 16
platform_exclude: qemu_xtensa

View file

@ -1,4 +1,9 @@
tests: tests:
- test: - test:
tags: net tags: net
platform_exclude: bbc_microbit filter: not CONFIG_BLUETOOTH
min_ram: 12
- test_with_bt:
tags: net
filter: CONFIG_BLUETOOTH
min_ram: 16

View file

@ -1,4 +1,5 @@
tests: tests:
- test: - test:
tags: net tags: net
platform_exclude: bbc_microbit qemu_xtensa min_ram: 16
platform_exclude: qemu_xtensa

View file

@ -1,4 +1,4 @@
tests: tests:
- test: - test:
tags: net tags: net
platform_exclude: bbc_microbit min_ram: 16

View file

@ -1,5 +1,5 @@
tests: tests:
- test: - test:
platform_exclude: bbc_microbit min_ram: 16
tags: dns net tags: dns net
timeout: 200 timeout: 200

View file

@ -1,5 +1,5 @@
tests: tests:
- test: - test:
tags: dns net tags: dns net
min_ram: 16
timeout: 600 timeout: 600
platform_exclude: bbc_microbit

View file

@ -1,4 +1,4 @@
tests: tests:
- test: - test:
platform_exclude: bbc_microbit min_ram: 16
tags: mqtt net tags: mqtt net

View file

@ -1,5 +1,5 @@
tests: tests:
- test: - test:
build_only: true build_only: true
platform_exclude: bbc_microbit min_ram: 16
tags: net mqtt tags: net mqtt

View file

@ -1,5 +1,5 @@
tests: tests:
- test: - test:
build_only: true build_only: true
platform_exclude: bbc_microbit min_ram: 16
tags: net mqtt tags: net mqtt

View file

@ -1,4 +1,4 @@
tests: tests:
- test: - test:
tags: net tags: net
platform_exclude: bbc_microbit min_ram: 16

View file

@ -1,4 +1,4 @@
tests: tests:
- test: - test:
tags: net tags: net
platform_exclude: bbc_microbit min_ram: 20

View file

@ -1,4 +1,4 @@
tests: tests:
- test: - test:
tags: net tags: net
platform_exclude: bbc_microbit min_ram: 16

View file

@ -1,5 +1,5 @@
tests: tests:
- test: - test:
build_only: true build_only: true
min_ram: 16
tags: net tags: net
platform_exclude: bbc_microbit

View file

@ -1,4 +1,4 @@
tests: tests:
- test: - test:
tags: net tags: net
platform_exclude: bbc_microbit min_ram: 20

View file

@ -1,4 +1,4 @@
tests: tests:
- test: - test:
tags: net tags: net
platform_exclude: bbc_microbit min_ram: 16