testing/drivertest: add pm_smp test

Signed-off-by: buxiasen <buxiasen@xiaomi.com>
This commit is contained in:
buxiasen 2024-08-05 22:36:24 +08:00 • committed by Xiang Xiao
parent 7acf0ff314
commit 93a431d19b
4 changed files with 512 additions and 2 deletions

View file

@ -140,9 +140,13 @@ PROGNAME += cmocka_driver_mps2_zerointerrupt
endif
endif
ifneq ($(CONFIG_PM),)
ifeq ($(CONFIG_PM),y)
MAINSRC += drivertest_pm.c
PROGNAME += cmocka_driver_pm
ifeq ($(CONFIG_SMP),y)
MAINSRC += drivertest_pm_smp.c
PROGNAME += cmocka_driver_pm_smp
endif
endif
ifneq ($(CONFIG_PM_RUNTIME),)