tests/samples: fix usage of integration_platforms

integration platforms can't be filtered out, adapt tests so that those
platforms are always available for testing.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2022-05-14 07:08:41 -04:00
parent bfe16bdc17
commit 8faca29fea
4 changed files with 4 additions and 8 deletions

View file

@ -3,8 +3,6 @@ sample:
name: lcd_cyclonev_socdk
common:
tags: introduction
integration_platforms:
- native_posix
harness: console
harness_config:
type: one_line

View file

@ -4,7 +4,6 @@ tests:
sample.sensor.mpr:
harness: sensor
tags: sensors
depends_on: i2c
platform_allow: arduino_due
integration_platforms:
- arduino_due

View file

@ -7,5 +7,4 @@ tests:
integration_platforms:
- adafruit_feather_stm32f405
tags: sensors
depends_on: i2c gpio
filter: dt_compat_enabled("vishay,vcnl4040")

View file

@ -130,7 +130,7 @@ tests:
logging.log2_api_deferred_override_level:
# Testing on selected platforms as it enables all logs in the application
# and it cannot be handled on many platforms.
platform_allow: qemu_cortex_m3 qemu_cortex_a9
platform_allow: qemu_cortex_m3 qemu_cortex_a9 native_posix
extra_configs:
- CONFIG_LOG_MODE_DEFERRED=y
- CONFIG_LOG_OVERRIDE_LEVEL=4
@ -138,7 +138,7 @@ tests:
logging.log2_api_deferred_override_level_rt_filtering:
# Testing on selected platforms as it enables all logs in the application
# and it cannot be handled on many platforms.
platform_allow: qemu_cortex_m3 qemu_cortex_a9
platform_allow: qemu_cortex_m3 qemu_cortex_a9 native_posix
extra_configs:
- CONFIG_LOG_MODE_DEFERRED=y
- CONFIG_LOG_RUNTIME_FILTERING=y
@ -203,7 +203,7 @@ tests:
logging.log_api_frontend_immediate_override_level:
# Testing on selected platforms as it enables all logs in the application
# and it cannot be handled on many platforms.
platform_allow: qemu_cortex_m3 qemu_cortex_a9
platform_allow: qemu_cortex_m3 qemu_cortex_a9 native_posix
extra_configs:
- CONFIG_LOG_FRONTEND=y
- CONFIG_LOG_MODE_IMMEDIATE=y
@ -212,7 +212,7 @@ tests:
logging.log2_api_deferred_override_level_rt_filtering:
# Testing on selected platforms as it enables all logs in the application
# and it cannot be handled on many platforms.
platform_allow: qemu_cortex_m3 qemu_cortex_a9
platform_allow: qemu_cortex_m3 qemu_cortex_a9 native_posix
extra_configs:
- CONFIG_LOG_MODE_DEFERRED=y
- CONFIG_LOG_RUNTIME_FILTERING=y