common:
  tags:
    - drivers
    - sensors
  platform_allow:
    - native_posix
    - 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_EMUL=y
      - CONFIG_NATIVE_UART_0_ON_STDINOUT=y
      - CONFIG_SENSOR_ASYNC_API=y
