Commit 4d2819ec authored by Aaron Massey's avatar Aaron Massey Committed by Maureen Helm
Browse files

tests: sensor SBS EMUL_CONFIG to testcase.yaml



There exists several <board>.conf files in the boards directory of the
sbs_gauge tests. All these confs do is enable CONFIG_EMUL. We can remove
these board confs in favor of a single extra_configs entry in the sensor
sbs gauge testcase.yaml file.

Remove the sensor test_bs_gauge test's board conf files in favor of
enabling CONFIG_EMUL in the testcase.yaml file.

Signed-off-by: default avatarAaron Massey <aaronmassey@google.com>
parent 8a376a74
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
# Copyright (c) 2022 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0

CONFIG_EMUL=y
+0 −4
Original line number Diff line number Diff line
# Copyright (c) 2023 Google LLC
# SPDX-License-Identifier: Apache-2.0

CONFIG_EMUL=y
+0 −4
Original line number Diff line number Diff line
# Copyright (c) 2022 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0

CONFIG_EMUL=y
+4 −1
Original line number Diff line number Diff line
@@ -3,7 +3,8 @@ tests:
  drivers.sensors.sbs_gauge:
    build_only: true
    tags: drivers sensors
    filter: dt_compat_enabled("sbs,sbs-gauge")
    filter:
      dt_compat_enabled("sbs,sbs-gauge") and not dt_compat_enabled("zephyr,i2c-emul-controller")
    integration_platforms:
      - nucleo_f070rb
  drivers.sensors.sbs_gauge.emulated:
@@ -12,3 +13,5 @@ tests:
    platform_allow: native_posix qemu_cortex_a9 qemu_arc_hs
    integration_platforms:
      - native_posix
    extra_configs:
      - CONFIG_EMUL=y