Commit fb9783d8 authored by Hake Huang's avatar Hake Huang Committed by Daniel DeGrasse
Browse files

tests: ztest: add test hold status in DEVICE_PM



for DEVICE_PM and DEVICE_PM_RUNTIME, ztest need
hold status like CONFIG_PM, otherwise the following
flash will be blocked for some SOC

Signed-off-by: default avatarHake Huang <hake.huang@nxp.com>
parent d699e8cc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -101,7 +101,7 @@ config ZTEST_ASSERT_HOOK

config ZTEST_NO_YIELD
	bool "Do not yield to the idle thread after tests complete"
	default y if PM
	default y if (PM || PM_DEVICE || PM_DEVICE_RUNTIME)
	help
	  When the tests complete, do not yield to the idle thread and instead
	  spin in a loop. This is useful for low power mode tests, where