tests: replace filters in testcase files

Where possible, replace the use of filter with newly added keywords.
This will speed things up and in some cases add more coverage due to bad
filters.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2017-06-27 18:07:29 -04:00 committed by Kumar Gala
commit d1e562c924
9 changed files with 12 additions and 42 deletions

View file

@ -4,5 +4,5 @@ sample:
tests:
- test:
build_only: true
filter: ZEPHYR_GCC_VARIANT != "issm"
toolchain_exclude: issm
tags: apps

View file

@ -2,8 +2,7 @@ tests:
- footprint-min:
build_only: true
extra_args: TEST=min
filter: not CONFIG_BOARD_GALILEO
platform_exclude: tinytile
platform_exclude: tinytile galileo
tags: footprint
- footprint-reg:
arch_whitelist: x86 arm

View file

@ -7,6 +7,5 @@ tests:
- test_br:
build_only: true
extra_args: CONF_FILE="prj_br.conf"
filter: not CONFIG_DEBUG
platform_whitelist: qemu_cortex_m3 qemu_x86
tags: bluetooth

View file

@ -1,11 +1,6 @@
tests:
- test:
filter: '(ARCH == "nios2" or CONFIG_DTCM_SIZE
> 0x4000 or
CONFIG_SRAM_SIZE > 16 or CONFIG_DCCM_SIZE
> 16 or
CONFIG_RAM_SIZE > 16)'
arch_exclude: riscv32 # ZEP-2020
min_ram: 16
tags: crypto ecc dsa
timeout: 180

View file

@ -1,10 +1,4 @@
tests:
- test:
filter: '(ARCH == "xtensa" or ARCH == "nios2"
or CONFIG_DTCM_SIZE > 0x4000 or
CONFIG_SRAM_SIZE > 16 or CONFIG_DCCM_SIZE
> 16 or
CONFIG_RAM_SIZE > 16)'
min_ram: 16
tags: crypto sha256 hmac

View file

@ -1,10 +1,4 @@
tests:
- test:
filter: '(ARCH == "xtensa" or ARCH == "nios2"
or CONFIG_DTCM_SIZE > 0xc000 or
CONFIG_SRAM_SIZE > 48 or CONFIG_DCCM_SIZE
> 48 or
CONFIG_RAM_SIZE > 48)'
min_ram: 48
tags: crypto sha256 hmac prng

View file

@ -1,16 +1,10 @@
tests:
- test:
filter: 'not ((CONFIG_DEBUG or CONFIG_ASSERT))
and ( CONFIG_SRAM_SIZE >= 32
or CONFIG_DCCM_SIZE >= 32 or CONFIG_RAM_SIZE
>= 32)'
arch_exclude: xtensa # FIXME
min_ram: 32
tags: core
- test_newlib:
arch_exclude: xtensa # FIXME
extra_args: CONF_FILE=prj_newlib.conf
filter: 'not ((CONFIG_DEBUG or CONFIG_ASSERT))
and ( CONFIG_SRAM_SIZE >= 32
or CONFIG_DCCM_SIZE >= 32 or CONFIG_RAM_SIZE
>= 32)'
min_ram: 32
tags: core

View file

@ -1,8 +1,4 @@
tests:
- test:
filter: 'not ((CONFIG_DEBUG or CONFIG_ASSERT))
and ( CONFIG_SRAM_SIZE >= 32
or CONFIG_DCCM_SIZE >= 32 or CONFIG_RAM_SIZE
>= 32)'
min_ram: 32
tags: core

View file

@ -1,5 +1,4 @@
tests:
- test:
filter: ( CONFIG_SRAM_SIZE > 16 or CONFIG_DCCM_SIZE
> 16 or CONFIG_RAM_SIZE > 16 )
min_ram: 16
tags: core bat_commit