提交 7610b4aa 编写于 作者: O openharmony_ci 提交者: Gitee

!243 hb编译添加notest选项,可去除所有用例的构建

Merge pull request !243 from lnlan/add_notest
......@@ -13,6 +13,7 @@
import("//build/lite/config/subsystem/aafwk/config.gni")
import("//test/xts/tools/lite/build/suite_lite.gni")
import("//build/lite/config/test.gni")
lite_component("acts_component") {
all_features = []
......@@ -93,7 +94,7 @@ lite_component("acts_component") {
}
}
if (ohos_build_type == "debug") {
if (ohos_build_type == "debug" && ohos_test_args != "notest") {
_all_features = ""
_product_json = rebase_path("${product_path}/config.json")
foreach(one_feature, all_features) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册