From 07b2fdd5c5e5c6ce6282b9b9ac9727b27268c471 Mon Sep 17 00:00:00 2001 From: wangchao582 Date: Wed, 13 Dec 2023 09:59:48 +0800 Subject: [PATCH] Add hdi test suites -power Signed-off-by: wangchao582 --- powermgr/power/BUILD.gn | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/powermgr/power/BUILD.gn b/powermgr/power/BUILD.gn index 4b36da2e..d7d92d9b 100755 --- a/powermgr/power/BUILD.gn +++ b/powermgr/power/BUILD.gn @@ -12,12 +12,17 @@ # limitations under the License. import("//build/ohos_var.gni") +import("//test/xts/hats/build.gni") import("//test/xts/tools/build/suite.gni") group("HatsPowermgrPowerTest") { testonly = true - deps = [ - "hdi_power:HatsPowermgrPowerTest", - "hdi_power_additional:HatsPowermgrPowerAdditionalTest", - ] + if (hats_rich == false) { + deps = [ + "hdi_power:HatsPowermgrPowerTest", + "hdi_power_additional:HatsPowermgrPowerAdditionalTest", + ] + } else { + deps = [ "hdi_power:HatsPowermgrPowerTest" ] + } }