diff --git a/build/ohos.build b/build/ohos.build index f80901ba1b5ea4f5dc7cf70a4a1b35ae9e1195b0..a547f745015d6732cd74220b3fdd8197008a6965 100644 --- a/build/ohos.build +++ b/build/ohos.build @@ -9,7 +9,8 @@ "inner_kits": [], "system_kits": [], "test_list": [ - "//test/xts/acts:acts" + "//test/xts/acts:acts", + "//test/xts/hats:hats" ] }, "ivi_tests": { diff --git a/build/suite.gni b/build/suite.gni index 0a565d70b0c75b76d46da96e1d9d4e1e2f4ee789..4b8c18ef87cbd7b21c035499eae8657a83813e0a 100755 --- a/build/suite.gni +++ b/build/suite.gni @@ -20,6 +20,7 @@ declare_args() { TESTCONFIG_FILENAME = "Test.xml" XTS_ROOT = "//test/xts" ACTS_ROOT = "//test/xts/acts" + HATS_ROOT = "//test/xts/hats" # create testsuite archive is time-consuming, do it only if necessary make_archive = false diff --git a/build/test_package_select.py b/build/test_package_select.py index ff8abb49081be0dfcb0578cf0c77cd2b27c11e54..46f69403525e0c9ff56ff3b8fe18632ea5335e72 100755 --- a/build/test_package_select.py +++ b/build/test_package_select.py @@ -40,6 +40,8 @@ def filter_modules(subsystem_data_file, test_packages): rslash_index = dep.find('/hits') if rslash_index < 0: rslash_index = dep.find('/acts') + if rslash_index < 0: + rslash_index = dep.find('/hats') colon_index = dep.find(':') if rslash_index < 0 or colon_index < 0: continue