add isolation for using UT

Signed-off-by: mazhao <mazhao12@huawei.com>
Change-Id: I7a8e966aba50ab022b06ccb58d8d9568dd8e7ccd
This commit is contained in:
mazhao 2023-10-19 10:06:15 +08:00
parent 0628733aa3
commit 4c780c6ea4

View File

@ -24,10 +24,13 @@ group("build_native_test") {
testonly = true
deps = [
"frameworks/innerkitsimpl/distributeddatafwk/test:unittest",
"frameworks/libs/distributeddb/gaussdb_rd/test/unittest:unittest",
"frameworks/libs/distributeddb/test:unittest",
"frameworks/libs/distributeddb/test/moduletest:moduletest",
]
if (!defined(global_parts_info.distributeddatamgr_kv_store_lite)) {
deps +=
[ "frameworks/libs/distributeddb/gaussdb_rd/test/unittest:unittest" ]
}
}
###############################################################################