From dd6d34e7dc25592f79fd68896cb898fccec8eea5 Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Tue, 25 Jul 2017 15:57:37 -0500 Subject: [PATCH] tests: net: second pass at cleanup tests to build on all platforms The majority of these fixes adjust the memory limit needed to build the various tests on systems with and without BLE support. We also fixup one test case that was able to run on platforms with 16k of memory. Signed-off-by: Kumar Gala --- tests/net/context/testcase.yaml | 8 +++++++- tests/net/ip-addr/testcase.yaml | 7 ++++++- tests/net/lib/http_header_fields/testcase.yaml | 8 +++++++- tests/net/mgmt/testcase.yaml | 7 ++++++- tests/net/neighbor/testcase.yaml | 7 ++++++- tests/net/route/testcase.yaml | 8 +++++++- tests/net/trickle/testcase.yaml | 2 +- 7 files changed, 40 insertions(+), 7 deletions(-) diff --git a/tests/net/context/testcase.yaml b/tests/net/context/testcase.yaml index b6833e8c0a0..cdd443f6dd5 100644 --- a/tests/net/context/testcase.yaml +++ b/tests/net/context/testcase.yaml @@ -1,4 +1,10 @@ tests: - test: tags: net - platform_exclude: bbc_microbit + filter: not CONFIG_BLUETOOTH + min_ram: 12 + platform_exclude: hexiwear_kw40z +- test_with_bt: + tags: net + filter: CONFIG_BLUETOOTH + min_ram: 16 diff --git a/tests/net/ip-addr/testcase.yaml b/tests/net/ip-addr/testcase.yaml index b6833e8c0a0..0b928a6904c 100644 --- a/tests/net/ip-addr/testcase.yaml +++ b/tests/net/ip-addr/testcase.yaml @@ -1,4 +1,9 @@ tests: - test: tags: net - platform_exclude: bbc_microbit + filter: not CONFIG_BLUETOOTH + min_ram: 12 +- test_with_bt: + tags: net + filter: CONFIG_BLUETOOTH + min_ram: 16 diff --git a/tests/net/lib/http_header_fields/testcase.yaml b/tests/net/lib/http_header_fields/testcase.yaml index 11d619f220d..14fc03b232b 100644 --- a/tests/net/lib/http_header_fields/testcase.yaml +++ b/tests/net/lib/http_header_fields/testcase.yaml @@ -1,4 +1,10 @@ tests: - test: - platform_exclude: bbc_microbit tags: http net + filter: not CONFIG_BLUETOOTH + min_ram: 12 + platform_exclude: hexiwear_kw40z +- test_with_bt: + tags: http net + filter: CONFIG_BLUETOOTH + min_ram: 16 diff --git a/tests/net/mgmt/testcase.yaml b/tests/net/mgmt/testcase.yaml index b6833e8c0a0..0b928a6904c 100644 --- a/tests/net/mgmt/testcase.yaml +++ b/tests/net/mgmt/testcase.yaml @@ -1,4 +1,9 @@ tests: - test: tags: net - platform_exclude: bbc_microbit + filter: not CONFIG_BLUETOOTH + min_ram: 12 +- test_with_bt: + tags: net + filter: CONFIG_BLUETOOTH + min_ram: 16 diff --git a/tests/net/neighbor/testcase.yaml b/tests/net/neighbor/testcase.yaml index b6833e8c0a0..0b928a6904c 100644 --- a/tests/net/neighbor/testcase.yaml +++ b/tests/net/neighbor/testcase.yaml @@ -1,4 +1,9 @@ tests: - test: tags: net - platform_exclude: bbc_microbit + filter: not CONFIG_BLUETOOTH + min_ram: 12 +- test_with_bt: + tags: net + filter: CONFIG_BLUETOOTH + min_ram: 16 diff --git a/tests/net/route/testcase.yaml b/tests/net/route/testcase.yaml index b6833e8c0a0..cdd443f6dd5 100644 --- a/tests/net/route/testcase.yaml +++ b/tests/net/route/testcase.yaml @@ -1,4 +1,10 @@ tests: - test: tags: net - platform_exclude: bbc_microbit + filter: not CONFIG_BLUETOOTH + min_ram: 12 + platform_exclude: hexiwear_kw40z +- test_with_bt: + tags: net + filter: CONFIG_BLUETOOTH + min_ram: 16 diff --git a/tests/net/trickle/testcase.yaml b/tests/net/trickle/testcase.yaml index fec6314e427..831dfc34583 100644 --- a/tests/net/trickle/testcase.yaml +++ b/tests/net/trickle/testcase.yaml @@ -2,4 +2,4 @@ tests: - test: tags: net platform_exclude: qemu_cortex_m3 # FIXME - min_ram: 16 + min_ram: 12