tests: build_all: Add device pm configuration for sensor drivers

Adds another test configuration to ensure we build sensor drivers with
device power management enabled, in addition to the existing test that
builds sensor drivers with device power management disabled.

Signed-off-by: Maureen Helm <maureen.helm@intel.com>
This commit is contained in:
Maureen Helm 2021-10-25 14:07:36 -05:00 committed by Anas Nashif
commit b88111bcf0
2 changed files with 5 additions and 0 deletions

View file

@ -563,6 +563,7 @@ test_i2c_bq274xx: bq27xx@47 {
design-capacity = <1800>;
taper-current = <45>;
terminate-voltage = <3000>;
int-gpios = <&test_gpio 0 0>;
};
test_i2c_mpr: mpr@18 {

View file

@ -7,3 +7,7 @@ tests:
extra_args: OVERLAY_CONFIG=sensors_trigger_own.conf
sensors.build:
tags: sensors
sensors.build.pm:
extra_configs:
- CONFIG_PM=y
- CONFIG_PM_DEVICE=y