Commit 7b4d8cf9 authored by Hake Huang's avatar Hake Huang Committed by Mahesh Mahadevan
Browse files

samples: sesnor: thermo: add harness_config for testing



add harness_config for console for testing

Signed-off-by: default avatarHake Huang <hake.huang@oss.nxo.com>
parent c6140b6f
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -3,7 +3,6 @@ sample:
tests:
  sample.sensor.thermometer:
    tags: sensors
    harness: sensor
    filter: dt_alias_exists("ambient-temp0")
    integration_platforms:
      - nrf52840dk/nrf52840   # mcp9700a
@@ -11,3 +10,11 @@ tests:
      - robokit1              # ntc_thermistor
      - adi_eval_adin1110ebz  # adt7420
      - frdm_mcxn947/mcxn947/cpu0 # p3t1755
    harness: console
    harness_config:
      fixture: sensor_ambient_temp
      type: multi_line
      regex:
        - "Thermometer Example (.*)"
        - "Temperature device is 0x[0-9|a-z]+, name is [a-z|0-9]+@[a-z|0-9]+"
        - "Temperature is [0-9|.]+°C"