diff --git a/BUILD.gn b/BUILD.gn index 406fe526f4722d452254d1b0ea6099744a5e9eb9..3890327871b9ee9bf0ffb66554fb72248be9845b 100755 --- a/BUILD.gn +++ b/BUILD.gn @@ -14,13 +14,12 @@ import("//build/lite/config/test.gni") subsystem_test("test") { - test_components = [] - if(ohos_kernel_type == "liteos_riscv") { - features += [ - ] - }else if(ohos_kernel_type == "liteos_a") { - test_components += [ - "//test/developertest/example/cxx_demo/test/unittest/common:CalcSubTest" - ] - } + test_components = [] + if (ohos_kernel_type == "liteos_m") { + features += [] + } else if (ohos_kernel_type == "liteos_a") { + test_components += [ + "//test/developertest/example/cxx_demo/test/unittest/common:CalcSubTest", + ] + } }