samples: logging: fix filtering in yaml file

integration platforms should not be in common section if we have
scenarios with different set of integration platforms.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2022-05-13 17:56:25 -04:00 committed by Marti Bolivar
parent 05946ed9b2
commit bfe16bdc17

View file

@ -1,22 +1,26 @@
sample:
description: Dictionary-based Logging Sample Application
name: logging_dictionary
common:
integration_platforms:
- qemu_x86
- qemu_x86_64
- qemu_cortex_a53
- qemu_cortex_a53_smp
tests:
sample.logger.basic.dictionary:
build_only: true
tags: logging
integration_platforms:
- qemu_x86
- qemu_x86_64
- qemu_cortex_a53
- qemu_cortex_a53_smp
sample.logger.basic.dictionary.fpu:
build_only: true
tags: logging
filter: CONFIG_CPU_HAS_FPU
extra_configs:
- CONFIG_FPU=y
integration_platforms:
- qemu_x86
- qemu_x86_64
- qemu_cortex_a53
- qemu_cortex_a53_smp
sample.logger.basic.dictionary.fpu.long_double:
build_only: true
tags: logging
@ -24,6 +28,11 @@ tests:
extra_configs:
- CONFIG_FPU=y
- CONFIG_CBPRINTF_PACKAGE_LONGDOUBLE=y
integration_platforms:
- qemu_x86
- qemu_x86_64
- qemu_cortex_a53
- qemu_cortex_a53_smp
sample.logger.basic.dictionary.uart_async_frontend:
build_only: true
tags: logging
@ -42,6 +51,11 @@ tests:
build_only: true
tags: logging
filter: CONFIG_SERIAL_SUPPORT_INTERRUPT and CONFIG_UART_CONSOLE
integration_platforms:
- qemu_x86
- qemu_x86_64
- qemu_cortex_a53
- qemu_cortex_a53_smp
extra_configs:
- CONFIG_LOG_BACKEND_UART=n
- CONFIG_LOG_BACKEND_RTT=n