zephyr/tests/drivers/build_all/sensor/testcase.yaml
Alberto Escolar Piedras 081c3638e1 tests/drivers/build_all: Don't test on native_posix
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>
2024-09-25 04:04:36 -04:00

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