native_posix is now deprecated. Building these tests in both native_sim and native_posix does not improve coverage for the tests or subsystem but doubles CI time. As anyhow native_posix will be removed all together in 2 releases, let's remove it already for these. Note: Some drivers tests for which there is native specific driver which will or may be built differently in native_sim and native_posix have been left enabled for native_posix Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
40 lines
1.2 KiB
YAML
40 lines
1.2 KiB
YAML
common:
|
|
tags:
|
|
- drivers
|
|
- sensors
|
|
platform_allow:
|
|
- native_sim
|
|
integration_platforms:
|
|
- native_sim
|
|
build_only: true
|
|
tests:
|
|
sensors.build.sensorhub:
|
|
extra_args: OVERLAY_CONFIG=sensors_shub.conf;sensors_die_temp.conf
|
|
sensors.build.trigger.own:
|
|
extra_args: OVERLAY_CONFIG=sensors_trigger_own.conf;sensors_die_temp.conf
|
|
sensors.build.trigger.global:
|
|
extra_args: OVERLAY_CONFIG=sensors_trigger_global.conf;sensors_die_temp.conf
|
|
sensors.build.trigger.none:
|
|
extra_args: OVERLAY_CONFIG=sensors_trigger_none.conf;sensors_die_temp.conf
|
|
sensors.build.no_default:
|
|
extra_args: OVERLAY_CONFIG=sensors_no_default.conf
|
|
sensors.build:
|
|
tags: sensors
|
|
extra_args: OVERLAY_CONFIG=sensors_die_temp.conf
|
|
extra_configs:
|
|
- CONFIG_UART_INTERRUPT_DRIVEN=y
|
|
sensors.build.pm:
|
|
extra_configs:
|
|
- CONFIG_PM=y
|
|
- CONFIG_PM_DEVICE=y
|
|
- CONFIG_UART_INTERRUPT_DRIVEN=y
|
|
sensors.generic_test:
|
|
build_only: false
|
|
extra_configs:
|
|
- CONFIG_GENERIC_SENSOR_TEST=y
|
|
- CONFIG_ZTEST=y
|
|
- CONFIG_ZTEST_THREAD_PRIORITY=1
|
|
- CONFIG_EMUL=y
|
|
- CONFIG_NATIVE_UART_0_ON_STDINOUT=y
|
|
- CONFIG_SENSOR_ASYNC_API=y
|