From 5d317a0eb5e22eec06ada5313fd1cac0557fa1b7 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Sun, 30 Oct 2016 16:45:09 -0400 Subject: [PATCH] tests: do not build sensors for system with < 32k {S}RAM Change-Id: I9cc87da7c32d9ffde5dd8f3419fdedd4683d3f0d Signed-off-by: Anas Nashif --- tests/drivers/build_all/testcase.ini | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/tests/drivers/build_all/testcase.ini b/tests/drivers/build_all/testcase.ini index 7c50046da56..58c9ca985af 100644 --- a/tests/drivers/build_all/testcase.ini +++ b/tests/drivers/build_all/testcase.ini @@ -6,22 +6,25 @@ tags = drivers footprint build_only = true tags = drivers footprint extra_args = CONF_FILE=sensors_a_m.conf -#Do not run for debug daily build -filter = not ((CONFIG_DEBUG or CONFIG_ASSERT)) +# Do not run for debug daily build +filter = not ((CONFIG_DEBUG or CONFIG_ASSERT)) and ( CONFIG_SRAM_SIZE >= 32 + or CONFIG_DCCM_SIZE >= 32 or CONFIG_RAM_SIZE >= 32 ) [test_build_sensors_n_z] build_only = true tags = drivers footprint extra_args = CONF_FILE=sensors_n_z.conf -#Do not run for debug daily build -filter = not ((CONFIG_DEBUG or CONFIG_ASSERT)) +# Do not run for debug daily build +filter = not ((CONFIG_DEBUG or CONFIG_ASSERT)) and ( CONFIG_SRAM_SIZE >= 32 + or CONFIG_DCCM_SIZE >= 32 or CONFIG_RAM_SIZE >= 32 ) [test_build_sensor_triggers] build_only = true tags = drivers footprint extra_args = CONF_FILE=sensors_trigger.conf -#Do not run for debug daily build -filter = not ((CONFIG_DEBUG or CONFIG_ASSERT)) +# Do not run for debug daily build +filter = not ((CONFIG_DEBUG or CONFIG_ASSERT)) and ( CONFIG_SRAM_SIZE >= 32 + or CONFIG_DCCM_SIZE >= 32 or CONFIG_RAM_SIZE >= 32 ) [test_build_ethernet] build_only = true